home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…stman Always Clicks Twice / ADC Developer CD (1993-01) (''The Postman Always Clicks Twice'')_iso / Dev.CD 199301.iso / Technical Documentation / Mac Tech Notes (DocViewer) / TN-Text < prev    next >
MacBinary  |  1992-11-18  |  230.1 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Wed Nov 18 07:22:00 1992, modified Wed Nov 18 11:00:50 1992, creator 'HLX2', type 'ONLN', 228720 bytes "TN-Text" , at 0x37df0 6705 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 54 4e 2d 54 65 78 | 74 00 00 00 00 00 00 00 |..TN-Tex|t.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 03 7d 70 00 | 00 1a 31 a7 2f e5 e8 a7 |.....}p.|..1./...|
|00000060| 30 19 32 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |0.2.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 02 20 00 00 |........|..... ..|
|00000080| 46 6f 6e 74 20 4d 61 6e | 61 67 65 72 20 51 26 41 |Font Man|ager Q&A|
|00000090| 73 0d 54 65 78 74 09 09 | 4d 2e 54 58 2e 46 6f 6e |s.Text..|M.TX.Fon|
|000000a0| 74 4d 67 72 2e 51 26 41 | 73 0d 52 65 76 69 73 65 |tMgr.Q&A|s.Revise|
|000000b0| 64 20 62 79 3a 09 44 65 | 76 65 6c 6f 70 65 72 20 |d by:.De|veloper |
|000000c0| 53 75 70 70 6f 72 74 20 | 43 65 6e 74 65 72 09 4f |Support |Center.O|
|000000d0| 63 74 6f 62 65 72 20 31 | 39 39 32 0d 57 72 69 74 |ctober 1|992.Writ|
|000000e0| 74 65 6e 20 62 79 3a 09 | 44 65 76 65 6c 6f 70 65 |ten by:.|Develope|
|000000f0| 72 20 53 75 70 70 6f 72 | 74 20 43 65 6e 74 65 72 |r Suppor|t Center|
|00000100| 09 4f 63 74 6f 62 65 72 | 20 31 39 39 30 0d 54 68 |.October| 1990.Th|
|00000110| 69 73 20 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |is Techn|ical Not|
|00000120| 65 20 63 6f 6e 74 61 69 | 6e 73 20 61 20 63 6f 6c |e contai|ns a col|
|00000130| 6c 65 63 74 69 6f 6e 20 | 6f 66 20 51 26 41 73 20 |lection |of Q&As |
|00000140| 72 65 6c 61 74 69 6e 67 | 20 74 6f 20 61 20 73 70 |relating| to a sp|
|00000150| 65 63 69 66 69 63 20 74 | 6f 70 69 63 d1 71 75 65 |ecific t|opic.que|
|00000160| 73 74 69 6f 6e 73 20 79 | 6f 75 d5 76 65 20 73 65 |stions y|ou.ve se|
|00000170| 6e 74 20 74 68 65 20 44 | 65 76 65 6c 6f 70 65 72 |nt the D|eveloper|
|00000180| 20 53 75 70 70 6f 72 74 | 20 43 65 6e 74 65 72 20 | Support| Center |
|00000190| 28 44 53 43 29 20 61 6c | 6f 6e 67 20 77 69 74 68 |(DSC) al|ong with|
|000001a0| 20 61 6e 73 77 65 72 73 | 20 66 72 6f 6d 20 74 68 | answers| from th|
|000001b0| 65 20 44 53 43 20 65 6e | 67 69 6e 65 65 72 73 2e |e DSC en|gineers.|
|000001c0| 20 57 68 69 6c 65 20 44 | 53 43 20 65 6e 67 69 6e | While D|SC engin|
|000001d0| 65 65 72 73 20 68 61 76 | 65 20 63 68 65 63 6b 65 |eers hav|e checke|
|000001e0| 64 20 74 68 65 20 51 26 | 41 20 63 6f 6e 74 65 6e |d the Q&|A conten|
|000001f0| 74 20 66 6f 72 20 61 63 | 63 75 72 61 63 79 2c 20 |t for ac|curacy, |
|00000200| 74 68 65 20 51 26 41 20 | 54 65 63 68 6e 69 63 61 |the Q&A |Technica|
|00000210| 6c 20 4e 6f 74 65 73 20 | 64 6f 6e d5 74 20 68 61 |l Notes |don.t ha|
|00000220| 76 65 20 74 68 65 20 65 | 64 69 74 69 6e 67 20 61 |ve the e|diting a|
|00000230| 6e 64 20 6f 72 67 61 6e | 69 7a 61 74 69 6f 6e 20 |nd organ|ization |
|00000240| 6f 66 20 6f 74 68 65 72 | 20 54 65 63 68 6e 69 63 |of other| Technic|
|00000250| 61 6c 20 4e 6f 74 65 73 | 2e 20 54 68 65 20 51 26 |al Notes|. The Q&|
|00000260| 41 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 74 6f |A functi|on is to|
|00000270| 20 67 65 74 20 6e 65 77 | 20 74 65 63 68 6e 69 63 | get new| technic|
|00000280| 61 6c 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |al infor|mation a|
|00000290| 6e 64 20 75 70 64 61 74 | 65 73 20 74 6f 20 79 6f |nd updat|es to yo|
|000002a0| 75 20 71 75 69 63 6b 6c | 79 2c 20 73 61 76 69 6e |u quickl|y, savin|
|000002b0| 67 20 74 68 65 20 70 6f | 6c 69 73 68 20 66 6f 72 |g the po|lish for|
|000002c0| 20 77 68 65 6e 20 74 68 | 65 20 69 6e 66 6f 72 6d | when th|e inform|
|000002d0| 61 74 69 6f 6e 20 6d 69 | 67 72 61 74 65 73 20 69 |ation mi|grates i|
|000002e0| 6e 74 6f 20 72 65 66 65 | 72 65 6e 63 65 20 6d 61 |nto refe|rence ma|
|000002f0| 6e 75 61 6c 73 2e 0d 51 | 26 41 73 20 61 72 65 20 |nuals..Q|&As are |
|00000300| 6e 6f 77 20 69 6e 63 6c | 75 64 65 64 20 77 69 74 |now incl|uded wit|
|00000310| 68 20 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |h Techni|cal Note|
|00000320| 73 20 74 6f 20 6d 61 6b | 65 20 61 63 63 65 73 73 |s to mak|e access|
|00000330| 20 74 6f 20 74 65 63 68 | 6e 69 63 61 6c 20 75 70 | to tech|nical up|
|00000340| 64 61 74 65 73 20 65 61 | 73 69 65 72 20 66 6f 72 |dates ea|sier for|
|00000350| 20 79 6f 75 2e 20 49 66 | 20 79 6f 75 20 68 61 76 | you. If| you hav|
|00000360| 65 20 63 6f 6d 6d 65 6e | 74 73 20 6f 72 20 73 75 |e commen|ts or su|
|00000370| 67 67 65 73 74 69 6f 6e | 73 20 61 62 6f 75 74 20 |ggestion|s about |
|00000380| 51 26 41 20 63 6f 6e 74 | 65 6e 74 20 6f 72 20 64 |Q&A cont|ent or d|
|00000390| 69 73 74 72 69 62 75 74 | 69 6f 6e 2c 20 70 6c 65 |istribut|ion, ple|
|000003a0| 61 73 65 20 6c 65 74 20 | 75 73 20 6b 6e 6f 77 20 |ase let |us know |
|000003b0| 62 79 20 73 65 6e 64 69 | 6e 67 20 61 6e 20 41 70 |by sendi|ng an Ap|
|000003c0| 70 6c 65 4c 69 6e 6b 20 | 74 6f 20 44 45 56 46 45 |pleLink |to DEVFE|
|000003d0| 45 44 42 41 43 4b 2e 20 | 41 70 70 6c 65 20 50 61 |EDBACK. |Apple Pa|
|000003e0| 72 74 6e 65 72 73 20 6d | 61 79 20 73 65 6e 64 20 |rtners m|ay send |
|000003f0| 74 65 63 68 6e 69 63 61 | 6c 20 71 75 65 73 74 69 |technica|l questi|
|00000400| 6f 6e 73 20 61 62 6f 75 | 74 20 51 26 41 20 63 6f |ons abou|t Q&A co|
|00000410| 6e 74 65 6e 74 20 74 6f | 20 44 45 56 53 55 50 50 |ntent to| DEVSUPP|
|00000420| 4f 52 54 20 66 6f 72 20 | 72 65 73 6f 6c 75 74 69 |ORT for |resoluti|
|00000430| 6f 6e 2e 0d 4e 65 77 20 | 51 26 41 73 20 61 6e 64 |on..New |Q&As and|
|00000440| 20 51 26 41 73 20 72 65 | 76 69 73 65 64 20 74 68 | Q&As re|vised th|
|00000450| 69 73 20 6d 6f 6e 74 68 | 20 61 72 65 20 6d 61 72 |is month| are mar|
|00000460| 6b 65 64 20 77 69 74 68 | 20 61 20 62 61 72 20 69 |ked with| a bar i|
|00000470| 6e 20 74 68 65 20 73 69 | 64 65 20 6d 61 72 67 69 |n the si|de margi|
|00000480| 6e 2e 0d 43 68 69 63 61 | 67 6f 20 43 6f 6e 74 72 |n..Chica|go Contr|
|00000490| 6f 6c 2d 51 20 70 72 69 | 6e 74 73 20 70 72 6f 70 |ol-Q pri|nts prop|
|000004a0| 65 6c 6c 65 72 20 6f 72 | 20 63 6c 6f 76 65 72 20 |eller or| clover |
|000004b0| 73 79 6d 62 6f 6c 0d 57 | 72 69 74 74 65 6e 3a 09 |symbol.W|ritten:.|
|000004c0| 37 2f 34 2f 39 30 0d 4c | 61 73 74 20 72 65 76 69 |7/4/90.L|ast revi|
|000004d0| 65 77 65 64 3a 09 38 2f | 31 2f 39 32 0d 48 6f 77 |ewed:.8/|1/92.How|
|000004e0| 20 64 6f 20 49 20 67 65 | 74 20 74 68 65 20 63 68 | do I ge|t the ch|
|000004f0| 61 72 61 63 74 65 72 20 | 74 68 61 74 20 72 65 70 |aracter |that rep|
|00000500| 72 65 73 65 6e 74 73 20 | 74 68 65 20 63 6c 6f 76 |resents |the clov|
|00000510| 65 72 20 75 73 65 64 20 | 66 6f 72 20 63 6f 6d 6d |er used |for comm|
|00000520| 61 6e 64 2d 6b 65 79 20 | 65 71 75 69 76 61 6c 65 |and-key |equivale|
|00000530| 6e 74 73 20 69 6e 20 64 | 6f 63 75 6d 65 6e 74 73 |nts in d|ocuments|
|00000540| 20 61 6e 64 20 69 6e 20 | 6d 65 6e 75 73 3f 0d 5f | and in |menus?._|
|00000550| 5f 5f 0d 54 68 69 73 20 | 6b 65 79 20 69 73 20 64 |__.This |key is d|
|00000560| 6f 63 75 6d 65 6e 74 65 | 64 20 69 6e 20 74 68 65 |ocumente|d in the|
|00000570| 20 41 70 70 6c 65 20 53 | 74 79 6c 65 20 47 75 69 | Apple S|tyle Gui|
|00000580| 64 65 2c 20 77 68 69 63 | 68 20 69 73 20 61 76 61 |de, whic|h is ava|
|00000590| 69 6c 61 62 6c 65 20 6f | 6e 20 74 68 65 20 6c 61 |ilable o|n the la|
|000005a0| 74 65 73 74 20 44 65 76 | 65 6c 6f 70 65 72 20 43 |test Dev|eloper C|
|000005b0| 44 20 53 65 72 69 65 73 | 20 64 69 73 63 20 61 73 |D Series| disc as|
|000005c0| 20 77 65 6c 6c 20 61 73 | 20 66 72 6f 6d 20 41 50 | well as| from AP|
|000005d0| 44 41 2e 20 4f 6e 65 20 | 6c 69 74 74 6c 65 20 66 |DA. One |little f|
|000005e0| 65 61 74 75 72 65 20 6f | 66 20 4b 65 79 20 43 61 |eature o|f Key Ca|
|000005f0| 70 73 20 77 68 69 63 68 | 20 69 73 20 6e 6f 74 20 |ps which| is not |
|00000600| 77 69 64 65 6c 79 20 6b | 6e 6f 77 6e 20 69 73 20 |widely k|nown is |
|00000610| 74 68 65 20 43 6f 6e 74 | 72 6f 6c 20 6b 65 79 20 |the Cont|rol key |
|00000620| 28 6e 6f 74 20 74 68 65 | 20 43 6f 6d 6d 61 6e 64 |(not the| Command|
|00000630| 20 6f 72 20 4f 70 74 69 | 6f 6e 20 6b 65 79 73 29 | or Opti|on keys)|
|00000640| 2e 20 50 72 65 73 73 69 | 6e 67 20 74 68 65 20 43 |. Pressi|ng the C|
|00000650| 6f 6e 74 72 6f 6c 20 6b | 65 79 20 69 6e 20 43 68 |ontrol k|ey in Ch|
|00000660| 69 63 61 67 6f 20 73 68 | 6f 77 73 20 74 68 61 74 |icago sh|ows that|
|00000670| 20 43 6f 6e 74 72 6f 6c | 2d 51 20 69 6e 20 43 68 | Control|-Q in Ch|
|00000680| 69 63 61 67 6f 20 6d 61 | 70 73 20 74 6f 20 74 68 |icago ma|ps to th|
|00000690| 65 20 70 72 6f 70 65 6c | 6c 65 72 20 73 79 6d 62 |e propel|ler symb|
|000006a0| 6f 6c 20 66 6f 72 20 77 | 68 69 63 68 20 79 6f 75 |ol for w|hich you|
|000006b0| 20 73 65 61 72 63 68 2e | 20 43 6f 6e 74 72 6f 6c | search.| Control|
|000006c0| 2d 51 20 67 65 6e 65 72 | 61 74 65 73 20 74 68 65 |-Q gener|ates the|
|000006d0| 20 63 68 61 72 61 63 74 | 65 72 20 63 6f 64 65 20 | charact|er code |
|000006e0| 31 37 3b 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 |17; the |standard|
|000006f0| 20 4d 61 63 69 6e 74 6f | 73 68 20 63 68 61 72 61 | Macinto|sh chara|
|00000700| 63 74 65 72 20 73 65 74 | 20 28 73 65 65 20 49 6e |cter set| (see In|
|00000710| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 56 |side Mac|intosh V|
|00000720| 6f 6c 75 6d 65 20 56 49 | 2c 20 70 61 67 65 20 31 |olume VI|, page 1|
|00000730| 32 2d 35 29 20 73 70 65 | 63 69 66 69 65 73 20 74 |2-5) spe|cifies t|
|00000740| 68 69 73 20 73 79 6d 62 | 6f 6c 20 66 6f 72 20 69 |his symb|ol for i|
|00000750| 74 2e 0d 44 65 74 65 72 | 6d 69 6e 69 6e 67 20 4d |t..Deter|mining M|
|00000760| 61 63 69 6e 74 6f 73 68 | 20 73 79 73 74 65 6d 20 |acintosh| system |
|00000770| 66 6f 6e 74 20 73 69 7a | 65 0d 57 72 69 74 74 65 |font siz|e.Writte|
|00000780| 6e 3a 09 32 2f 31 31 2f | 39 31 0d 4c 61 73 74 20 |n:.2/11/|91.Last |
|00000790| 72 65 76 69 65 77 65 64 | 3a 09 38 2f 31 2f 39 32 |reviewed|:.8/1/92|
|000007a0| 0d 48 6f 77 20 64 6f 65 | 73 20 61 20 70 72 6f 67 |.How doe|s a prog|
|000007b0| 72 61 6d 20 64 65 74 65 | 72 6d 69 6e 65 20 74 68 |ram dete|rmine th|
|000007c0| 65 20 64 65 66 61 75 6c | 74 20 73 79 73 74 65 6d |e defaul|t system|
|000007d0| 20 66 6f 6e 74 20 73 69 | 7a 65 3f 0d 5f 5f 5f 0d | font si|ze?.___.|
|000007e0| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 6b |If you w|ant to k|
|000007f0| 6e 6f 77 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |now the |default |
|00000800| 73 79 73 74 65 6d 20 66 | 6f 6e 74 20 73 69 7a 65 |system f|ont size|
|00000810| 2c 20 75 73 65 20 74 68 | 65 20 47 65 74 44 65 66 |, use th|e GetDef|
|00000820| 46 6f 6e 74 53 69 7a 65 | 20 63 61 6c 6c 20 28 49 |FontSize| call (I|
|00000830| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |nside Ma|cintosh |
|00000840| 56 6f 6c 75 6d 65 20 56 | 2c 20 70 61 67 65 20 33 |Volume V|, page 3|
|00000850| 31 34 29 2e 20 54 68 69 | 73 20 63 61 6c 6c 20 77 |14). Thi|s call w|
|00000860| 69 6c 6c 20 72 65 74 75 | 72 6e 20 74 68 65 20 74 |ill retu|rn the t|
|00000870| 72 75 65 20 64 65 66 61 | 75 6c 74 20 73 79 73 74 |rue defa|ult syst|
|00000880| 65 6d 20 66 6f 6e 74 20 | 73 69 7a 65 2e 20 4f 6e |em font |size. On|
|00000890| 20 61 6c 6c 20 52 6f 6d | 61 6e 20 73 79 73 74 65 | all Rom|an syste|
|000008a0| 6d 73 20 74 68 65 20 73 | 79 73 46 6f 6e 74 53 69 |ms the s|ysFontSi|
|000008b0| 7a 65 20 6c 6f 77 2d 6d | 65 6d 6f 72 79 20 67 6c |ze low-m|emory gl|
|000008c0| 6f 62 61 6c 20 69 73 20 | 61 6c 77 61 79 73 20 7a |obal is |always z|
|000008d0| 65 72 6f 20 62 79 20 64 | 65 66 61 75 6c 74 3b 20 |ero by d|efault; |
|000008e0| 74 68 69 73 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |this mea|ns that |
|000008f0| 69 74 d5 73 20 61 63 74 | 75 61 6c 6c 79 20 31 32 |it.s act|ually 12|
|00000900| 2e 20 44 6f 6e d5 74 20 | 61 73 6b 20 6d 65 20 77 |. Don.t |ask me w|
|00000910| 68 79 20 74 68 65 79 20 | 64 69 64 20 74 68 69 73 |hy they |did this|
|00000920| 2c 20 62 75 74 20 69 74 | d5 73 20 74 72 75 65 2c |, but it|.s true,|
|00000930| 20 73 6f 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 75 | so you |should u|
|00000940| 73 65 20 74 68 65 20 63 | 61 6c 6c 20 69 66 20 79 |se the c|all if y|
|00000950| 6f 75 20 77 61 6e 74 20 | 61 20 70 61 69 6e 6c 65 |ou want |a painle|
|00000960| 73 73 20 6d 65 74 68 6f | 64 20 6f 66 20 6f 62 74 |ss metho|d of obt|
|00000970| 61 69 6e 69 6e 67 20 74 | 68 69 73 20 69 6e 66 6f |aining t|his info|
|00000980| 72 6d 61 74 69 6f 6e 2e | 20 54 72 79 20 74 6f 20 |rmation.| Try to |
|00000990| 61 76 6f 69 64 20 72 65 | 61 64 69 6e 67 20 74 68 |avoid re|ading th|
|000009a0| 65 20 67 6c 6f 62 61 6c | 20 64 69 72 65 63 74 6c |e global| directl|
|000009b0| 79 2e 0d 46 53 63 61 6c | 65 44 69 73 61 62 6c 65 |y..FScal|eDisable|
|000009c0| 20 61 6e 64 20 4d 61 63 | 69 6e 74 6f 73 68 20 73 | and Mac|intosh s|
|000009d0| 63 72 65 65 6e 20 72 65 | 6e 64 65 72 69 6e 67 0d |creen re|ndering.|
|000009e0| 57 72 69 74 74 65 6e 3a | 09 36 2f 34 2f 39 31 0d |Written:|.6/4/91.|
|000009f0| 4c 61 73 74 20 72 65 76 | 69 65 77 65 64 3a 09 38 |Last rev|iewed:.8|
|00000a00| 2f 31 2f 39 32 0d 57 68 | 61 74 20 69 73 20 74 68 |/1/92.Wh|at is th|
|00000a10| 65 20 63 75 72 72 65 6e | 74 20 69 6e 74 65 72 66 |e curren|t interf|
|00000a20| 61 63 65 20 67 75 69 64 | 65 6c 69 6e 65 20 6f 6e |ace guid|eline on|
|00000a30| 20 66 6f 6e 74 20 73 63 | 61 6c 69 6e 67 3f 20 53 | font sc|aling? S|
|00000a40| 68 6f 75 6c 64 20 77 65 | 20 73 65 74 20 46 53 63 |hould we| set FSc|
|00000a50| 61 6c 65 44 69 73 61 62 | 6c 65 20 74 6f 20 74 72 |aleDisab|le to tr|
|00000a60| 75 65 20 6f 72 20 66 61 | 6c 73 65 20 66 6f 72 20 |ue or fa|lse for |
|00000a70| 73 63 72 65 65 6e 20 72 | 65 6e 64 65 72 69 6e 67 |screen r|endering|
|00000a80| 3f 20 49 20 62 65 6c 69 | 65 76 65 20 74 68 65 20 |? I beli|eve the |
|00000a90| 6f 6c 64 20 67 75 69 64 | 65 6c 69 6e 65 20 77 61 |old guid|eline wa|
|00000aa0| 73 20 74 6f 20 73 65 74 | 20 69 74 20 74 6f 20 74 |s to set| it to t|
|00000ab0| 72 75 65 20 28 74 68 75 | 73 20 64 69 73 61 62 6c |rue (thu|s disabl|
|00000ac0| 69 6e 67 20 66 6f 6e 74 | 20 73 63 61 6c 69 6e 67 |ing font| scaling|
|00000ad0| 29 20 73 6f 20 74 68 61 | 74 20 69 66 20 79 6f 75 |) so tha|t if you|
|00000ae0| 20 68 61 76 65 20 61 20 | 32 33 20 70 74 20 73 63 | have a |23 pt sc|
|00000af0| 72 65 65 6e 20 66 6f 6e | 74 20 79 6f 75 20 77 69 |reen fon|t you wi|
|00000b00| 6c 6c 20 73 65 65 20 31 | 32 20 70 74 20 67 6c 79 |ll see 1|2 pt gly|
|00000b10| 70 68 73 20 77 69 74 68 | 20 32 33 20 70 74 20 77 |phs with| 23 pt w|
|00000b20| 69 64 74 68 73 2e 20 57 | 65 20 77 61 6e 74 20 70 |idths. W|e want p|
|00000b30| 65 72 66 6f 72 6d 61 6e | 63 65 20 6f 6e 20 41 70 |erforman|ce on Ap|
|00000b40| 70 6c 65 d5 73 20 6c 6f | 77 2d 65 6e 64 20 6d 61 |ple.s lo|w-end ma|
|00000b50| 63 68 69 6e 65 73 2c 20 | 61 6e 64 20 77 65 20 64 |chines, |and we d|
|00000b60| 6f 6e d5 74 20 77 61 6e | 74 20 74 6f 20 6d 61 6b |on.t wan|t to mak|
|00000b70| 65 20 74 68 69 73 20 61 | 20 75 73 65 72 20 70 72 |e this a| user pr|
|00000b80| 65 66 65 72 65 6e 63 65 | 2e 0d 5f 5f 5f 0d 4d 6f |eference|..___.Mo|
|00000b90| 73 74 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |st appli|cations |
|00000ba0| 6e 6f 77 20 73 65 74 20 | 46 53 63 61 6c 65 44 69 |now set |FScaleDi|
|00000bb0| 73 61 62 6c 65 20 74 6f | 20 66 61 6c 73 65 20 61 |sable to| false a|
|00000bc0| 6c 6c 20 74 68 65 20 74 | 69 6d 65 2e 20 49 66 20 |ll the t|ime. If |
|00000bd0| 79 6f 75 20 61 72 65 20 | 77 6f 72 72 69 65 64 20 |you are |worried |
|00000be0| 61 62 6f 75 74 20 74 68 | 65 20 73 70 65 65 64 20 |about th|e speed |
|00000bf0| 64 65 67 72 61 64 61 74 | 69 6f 6e 20 69 6e 20 79 |degradat|ion in y|
|00000c00| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00000c10| 77 68 65 6e 20 72 75 6e | 6e 69 6e 67 20 6f 6e 20 |when run|ning on |
|00000c20| 73 6c 6f 77 65 72 20 4d | 61 63 69 6e 74 6f 73 68 |slower M|acintosh|
|00000c30| 20 73 79 73 74 65 6d 73 | 2c 20 79 6f 75 20 63 6f | systems|, you co|
|00000c40| 75 6c 64 20 68 61 76 65 | 20 79 6f 75 72 20 73 6f |uld have| your so|
|00000c50| 66 74 77 61 72 65 20 69 | 64 65 6e 74 69 66 79 20 |ftware i|dentify |
|00000c60| 77 68 69 63 68 20 4d 61 | 63 20 69 74 20 69 73 20 |which Ma|c it is |
|00000c70| 72 75 6e 6e 69 6e 67 20 | 6f 6e 20 75 73 69 6e 67 |running |on using|
|00000c80| 20 47 65 73 74 61 6c 74 | 2c 20 53 79 73 45 6e 76 | Gestalt|, SysEnv|
|00000c90| 69 72 6f 6e 73 2c 20 65 | 74 63 2e 2c 20 61 6e 64 |irons, e|tc., and|
|00000ca0| 20 74 68 65 6e 20 73 65 | 74 20 46 53 63 61 6c 65 | then se|t FScale|
|00000cb0| 44 69 73 61 62 6c 65 20 | 74 6f 20 74 72 75 65 20 |Disable |to true |
|00000cc0| 6f 6e 6c 79 20 6f 6e 20 | 74 68 65 20 73 6c 6f 77 |only on |the slow|
|00000cd0| 20 6d 61 63 68 69 6e 65 | 73 2e 20 46 72 6f 6d 20 | machine|s. From |
|00000ce0| 74 68 65 20 70 75 72 65 | 6c 79 20 69 6e 74 65 72 |the pure|ly inter|
|00000cf0| 66 61 63 65 20 70 6f 69 | 6e 74 20 6f 66 20 76 69 |face poi|nt of vi|
|00000d00| 65 77 2c 20 d2 77 68 61 | 74 2d 79 6f 75 2d 73 65 |ew, .wha|t-you-se|
|00000d10| 65 2d 69 73 2d 77 68 61 | 74 2d 79 6f 75 2d 67 65 |e-is-wha|t-you-ge|
|00000d20| 74 d3 20 69 73 20 62 65 | 73 74 2c 20 69 66 20 70 |t. is be|st, if p|
|00000d30| 72 6f 63 65 73 73 6f 72 | 20 73 70 65 65 64 20 61 |rocessor| speed a|
|00000d40| 6c 6c 6f 77 73 20 69 74 | 2e 0d 57 69 74 68 20 54 |llows it|..With T|
|00000d50| 72 75 65 54 79 70 65 20 | 74 68 65 72 65 20 69 73 |rueType |there is|
|00000d60| 20 6e 6f 20 69 73 73 75 | 65 2c 20 73 69 6e 63 65 | no issu|e, since|
|00000d70| 20 46 53 63 61 6c 65 44 | 69 73 61 62 6c 65 20 64 | FScaleD|isable d|
|00000d80| 6f 65 73 6e d5 74 20 68 | 61 76 65 20 61 6e 79 20 |oesn.t h|ave any |
|00000d90| 65 66 66 65 63 74 20 6f | 6e 20 61 6e 20 6f 75 74 |effect o|n an out|
|00000da0| 6c 69 6e 65 20 66 6f 6e | 74 2e 20 20 0d 4d 61 63 |line fon|t. .Mac|
|00000db0| 69 6e 74 6f 73 68 20 64 | 6f 75 62 6c 65 2d 62 79 |intosh d|ouble-by|
|00000dc0| 74 65 20 63 68 61 72 61 | 63 74 65 72 20 65 6e 63 |te chara|cter enc|
|00000dd0| 6f 64 69 6e 67 0d 57 72 | 69 74 74 65 6e 3a 09 38 |oding.Wr|itten:.8|
|00000de0| 2f 35 2f 39 31 0d 4c 61 | 73 74 20 72 65 76 69 65 |/5/91.La|st revie|
|00000df0| 77 65 64 3a 09 38 2f 31 | 2f 39 32 0d 57 68 65 6e |wed:.8/1|/92.When|
|00000e00| 20 77 69 6c 6c 20 53 79 | 73 74 65 6d 20 37 20 61 | will Sy|stem 7 a|
|00000e10| 6e 64 20 54 72 75 65 54 | 79 70 65 20 62 65 20 61 |nd TrueT|ype be a|
|00000e20| 62 6c 65 20 74 6f 20 73 | 75 70 70 6f 72 74 20 61 |ble to s|upport a|
|00000e30| 20 6c 61 72 67 65 72 20 | 63 68 61 72 61 63 74 65 | larger |characte|
|00000e40| 72 20 65 6e 63 6f 64 69 | 6e 67 20 76 65 63 74 6f |r encodi|ng vecto|
|00000e50| 72 20 74 68 61 6e 20 74 | 68 65 20 63 75 72 72 65 |r than t|he curre|
|00000e60| 6e 74 20 32 35 36 20 63 | 68 61 72 61 63 74 65 72 |nt 256 c|haracter|
|00000e70| 73 3f 20 49 73 20 74 68 | 69 73 20 73 6f 6d 65 74 |s? Is th|is somet|
|00000e80| 68 69 6e 67 20 49 20 63 | 6f 75 6c 64 20 64 6f 20 |hing I c|ould do |
|00000e90| 6e 6f 77 3f 0d 5f 5f 5f | 0d 53 79 73 74 65 6d 20 |now?.___|.System |
|00000ea0| 37 20 64 6f 65 73 20 6e | 6f 74 20 68 61 76 65 20 |7 does n|ot have |
|00000eb0| 64 6f 75 62 6c 65 2d 62 | 79 74 65 20 63 68 61 72 |double-b|yte char|
|00000ec0| 61 63 74 65 72 20 65 6e | 63 6f 64 69 6e 67 20 73 |acter en|coding s|
|00000ed0| 75 70 70 6f 72 74 20 6e | 6f 77 2e 20 49 6e 20 74 |upport n|ow. In t|
|00000ee0| 68 65 20 66 75 74 75 72 | 65 2c 20 41 70 70 6c 65 |he futur|e, Apple|
|00000ef0| 20 77 69 6c 6c 20 75 73 | 65 20 74 68 65 20 74 77 | will us|e the tw|
|00000f00| 6f 2d 62 79 74 65 20 55 | 4e 49 43 4f 44 45 20 73 |o-byte U|NICODE s|
|00000f10| 74 61 6e 64 61 72 64 20 | 66 6f 72 20 69 74 73 20 |tandard |for its |
|00000f20| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|00000f30| 73 2e 20 48 6f 77 65 76 | 65 72 2c 20 73 75 63 68 |s. Howev|er, such|
|00000f40| 20 61 20 63 68 61 6e 67 | 65 20 77 69 6c 6c 20 62 | a chang|e will b|
|00000f50| 65 20 68 75 67 65 20 61 | 6e 64 20 74 68 65 72 65 |e huge a|nd there|
|00000f60| 66 6f 72 65 20 77 69 6c | 6c 20 6e 6f 74 20 62 65 |fore wil|l not be|
|00000f70| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 6e 20 74 68 | availab|le in th|
|00000f80| 65 20 6e 65 61 72 20 66 | 75 74 75 72 65 2e 0d 45 |e near f|uture..E|
|00000f90| 76 65 72 20 73 69 6e 63 | 65 20 36 2e 30 2e 32 2c |ver sinc|e 6.0.2,|
|00000fa0| 20 4b 61 6e 6a 69 54 61 | 6c 6b 20 68 61 73 20 68 | KanjiTa|lk has h|
|00000fb0| 61 64 20 64 6f 75 62 6c | 65 2d 62 79 74 65 20 65 |ad doubl|e-byte e|
|00000fc0| 6e 63 6f 64 69 6e 67 2c | 20 73 6f 20 79 6f 75 20 |ncoding,| so you |
|00000fd0| 63 61 6e 20 75 73 65 20 | 74 68 65 20 4a 61 70 61 |can use |the Japa|
|00000fe0| 6e 65 73 65 20 73 79 73 | 74 65 6d 20 61 74 20 74 |nese sys|tem at t|
|00000ff0| 68 69 73 20 74 69 6d 65 | 2e 20 54 68 65 20 73 79 |his time|. The sy|
|00001000| 73 74 65 6d 20 77 68 69 | 63 68 20 61 6c 6c 6f 77 |stem whi|ch allow|
|00001010| 73 20 79 6f 75 20 74 6f | 20 64 6f 20 74 68 69 73 |s you to| do this|
|00001020| 20 69 73 20 63 61 6c 6c | 65 64 20 73 68 69 66 74 | is call|ed shift|
|00001030| 2d 4a 49 53 20 28 4a 61 | 70 61 6e 65 73 65 20 49 |-JIS (Ja|panese I|
|00001040| 6e 70 75 74 20 53 79 73 | 74 65 6d 29 2e 20 54 68 |nput Sys|tem). Th|
|00001050| 65 20 6d 61 70 70 69 6e | 67 73 20 61 72 65 20 6f |e mappin|gs are o|
|00001060| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 44 65 |n the cu|rrent De|
|00001070| 76 65 6c 6f 70 65 72 20 | 43 44 20 69 6e 20 74 68 |veloper |CD in th|
|00001080| 65 20 4b 61 6e 6a 69 20 | 66 6f 6c 64 65 72 2e 0d |e Kanji |folder..|
|00001090| 27 46 4f 4e 44 27 20 72 | 65 73 6f 75 72 63 65 20 |'FOND' r|esource |
|000010a0| 66 65 61 74 75 72 65 73 | 20 73 75 62 6a 65 63 74 |features| subject|
|000010b0| 20 74 6f 20 63 68 61 6e | 67 65 0d 57 72 69 74 74 | to chan|ge.Writt|
|000010c0| 65 6e 3a 09 36 2f 31 37 | 2f 39 31 0d 4c 61 73 74 |en:.6/17|/91.Last|
|000010d0| 20 72 65 76 69 65 77 65 | 64 3a 09 38 2f 31 2f 39 | reviewe|d:.8/1/9|
|000010e0| 32 0d 57 68 69 63 68 20 | 27 46 4f 4e 44 27 20 66 |2.Which |'FOND' f|
|000010f0| 65 61 74 75 72 65 73 20 | 61 72 65 20 73 75 62 6a |eatures |are subj|
|00001100| 65 63 74 20 74 6f 20 63 | 68 61 6e 67 65 2c 20 61 |ect to c|hange, a|
|00001110| 6e 64 20 77 68 61 74 20 | 70 61 72 74 73 20 63 61 |nd what |parts ca|
|00001120| 6e 20 49 20 72 65 6c 79 | 20 6f 6e 3f 0d 5f 5f 5f |n I rely| on?.___|
|00001130| 0d 27 46 4f 4e 44 27 20 | 66 65 61 74 75 72 65 73 |.'FOND' |features|
|00001140| 20 6e 6f 74 20 64 6f 63 | 75 6d 65 6e 74 65 64 20 | not doc|umented |
|00001150| 69 6e 20 49 6e 73 69 64 | 65 20 4d 61 63 69 6e 74 |in Insid|e Macint|
|00001160| 6f 73 68 2c 20 4d 61 63 | 69 6e 74 6f 73 68 20 54 |osh, Mac|intosh T|
|00001170| 65 63 68 6e 69 63 61 6c | 20 4e 6f 74 65 73 2c 20 |echnical| Notes, |
|00001180| 6f 72 20 64 65 76 65 6c | 6f 70 20 61 72 65 20 73 |or devel|op are s|
|00001190| 75 62 6a 65 63 74 20 74 | 6f 20 63 68 61 6e 67 65 |ubject t|o change|
|000011a0| 2e 20 54 68 61 74 d5 73 | 20 74 68 65 20 6f 66 66 |. That.s| the off|
|000011b0| 69 63 69 61 6c 20 77 6f | 72 64 2e 0d 46 69 76 65 |icial wo|rd..Five|
|000011c0| 20 66 6f 6e 74 20 73 74 | 79 6c 65 2d 6d 61 70 70 | font st|yle-mapp|
|000011d0| 69 6e 67 20 74 61 62 6c | 65 20 73 74 79 6c 65 73 |ing tabl|e styles|
|000011e0| 0d 57 72 69 74 74 65 6e | 3a 09 36 2f 31 37 2f 39 |.Written|:.6/17/9|
|000011f0| 31 0d 4c 61 73 74 20 72 | 65 76 69 65 77 65 64 3a |1.Last r|eviewed:|
|00001200| 09 38 2f 31 2f 39 32 0d | 57 68 79 20 69 73 20 d2 |.8/1/92.|Why is .|
|00001210| 34 37 d3 20 74 68 65 20 | 62 6f 75 6e 64 73 20 6f |47. the |bounds o|
|00001220| 66 20 74 68 65 20 69 6e | 64 65 78 65 73 d5 20 61 |f the in|dexes. a|
|00001230| 72 72 61 79 20 69 6e 20 | 74 68 65 20 53 74 79 6c |rray in |the Styl|
|00001240| 65 54 61 62 6c 65 3f 0d | 5f 5f 5f 0d 54 68 65 20 |eTable?.|___.The |
|00001250| 73 74 79 6c 65 2d 6d 61 | 70 70 69 6e 67 20 74 61 |style-ma|pping ta|
|00001260| 62 6c 65 73 2c 20 77 68 | 69 63 68 20 61 72 65 20 |bles, wh|ich are |
|00001270| 75 73 65 64 20 66 6f 72 | 20 6d 61 70 70 69 6e 67 |used for| mapping|
|00001280| 20 6f 66 20 61 20 66 6f | 6e 74 20 73 74 79 6c 65 | of a fo|nt style|
|00001290| 20 74 6f 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 | to a pa|rticular|
|000012a0| 20 66 6f 6e 74 20 66 6f | 72 20 70 72 69 6e 74 69 | font fo|r printi|
|000012b0| 6e 67 2c 20 68 61 76 65 | 20 6f 6e 6c 79 20 66 69 |ng, have| only fi|
|000012c0| 76 65 20 70 6f 73 73 69 | 62 6c 65 20 73 74 79 6c |ve possi|ble styl|
|000012d0| 65 73 2c 20 75 6e 6c 69 | 6b 65 20 74 68 65 20 73 |es, unli|ke the s|
|000012e0| 69 78 20 73 63 72 65 65 | 6e 20 73 74 79 6c 65 73 |ix scree|n styles|
|000012f0| 20 28 75 6e 64 65 72 6c | 69 6e 65 20 69 73 20 6f | (underl|ine is o|
|00001300| 6d 69 74 74 65 64 2c 20 | 73 69 6e 63 65 20 61 20 |mitted, |since a |
|00001310| 6c 61 73 65 72 20 70 72 | 69 6e 74 65 72 20 6a 75 |laser pr|inter ju|
|00001320| 73 74 20 65 78 70 6c 69 | 63 69 74 6c 79 20 64 72 |st expli|citly dr|
|00001330| 61 77 73 20 61 20 6c 69 | 6e 65 20 75 6e 64 65 72 |aws a li|ne under|
|00001340| 20 74 68 65 20 73 74 72 | 69 6e 67 d1 69 74 20 64 | the str|ing.it d|
|00001350| 6f 65 73 6e d5 74 20 6e | 65 65 64 20 61 20 73 70 |oesn.t n|eed a sp|
|00001360| 65 63 69 61 6c 20 66 6f | 6e 74 20 66 6f 72 20 74 |ecial fo|nt for t|
|00001370| 68 61 74 29 2e 20 59 6f | 75 20 63 61 6e 20 68 61 |hat). Yo|u can ha|
|00001380| 76 65 20 61 6e 79 20 63 | 6f 6d 62 69 6e 61 74 69 |ve any c|ombinati|
|00001390| 6f 6e 20 6f 66 20 74 68 | 65 73 65 20 66 69 76 65 |on of th|ese five|
|000013a0| 20 73 74 79 6c 65 73 2c | 20 45 58 43 45 50 54 20 | styles,| EXCEPT |
|000013b0| 74 68 61 74 20 79 6f 75 | 20 63 61 6e d5 74 20 68 |that you| can.t h|
|000013c0| 61 76 65 20 d2 43 6f 6e | 64 65 6e 73 65 d3 20 61 |ave .Con|dense. a|
|000013d0| 6e 64 20 d2 45 78 74 65 | 6e 64 d3 20 61 74 20 74 |nd .Exte|nd. at t|
|000013e0| 68 65 20 73 61 6d 65 20 | 74 69 6d 65 20 28 43 6f |he same |time (Co|
|000013f0| 6e 64 65 6e 73 65 64 20 | 45 78 74 65 6e 64 65 64 |ndensed |Extended|
|00001400| 20 77 6f 75 6c 64 6e d5 | 74 20 6d 61 6b 65 20 61 | wouldn.|t make a|
|00001410| 20 77 68 6f 6c 65 20 6c | 6f 74 20 6f 66 20 73 65 | whole l|ot of se|
|00001420| 6e 73 65 29 2e 20 54 68 | 75 73 20 79 6f 75 20 67 |nse). Th|us you g|
|00001430| 65 74 20 28 63 6f 6d 62 | 69 6e 61 74 6f 72 69 63 |et (comb|inatoric|
|00001440| 73 20 63 6f 6d 65 20 62 | 61 63 6b 20 74 6f 20 68 |s come b|ack to h|
|00001450| 61 75 6e 74 20 75 73 29 | 20 34 38 20 70 6f 73 73 |aunt us)| 48 poss|
|00001460| 69 62 6c 65 20 75 6e 69 | 71 75 65 20 73 74 79 6c |ible uni|que styl|
|00001470| 65 73 20 74 6f 20 6d 61 | 70 20 74 6f 2e 0d 58 2d |es to ma|p to..X-|
|00001480| 52 65 66 3a 0d 53 6e 69 | 70 70 65 74 20 d2 53 74 |Ref:.Sni|ppet .St|
|00001490| 79 6c 65 4d 61 70 d3 20 | 6f 6e 20 74 68 65 20 44 |yleMap. |on the D|
|000014a0| 65 76 65 6c 6f 70 65 72 | 20 43 44 2e 0d 4c 61 73 |eveloper| CD..Las|
|000014b0| 65 72 57 72 69 74 65 72 | 20 52 65 66 65 72 65 6e |erWriter| Referen|
|000014c0| 63 65 2c 20 43 68 61 70 | 74 65 72 20 32 2c 20 d2 |ce, Chap|ter 2, .|
|000014d0| 57 6f 72 6b 69 6e 67 20 | 77 69 74 68 20 46 6f 6e |Working |with Fon|
|000014e0| 74 73 2c d3 20 28 41 64 | 64 69 73 6f 6e 2d 57 65 |ts,. (Ad|dison-We|
|000014f0| 73 6c 65 79 3b 20 41 50 | 44 41 20 20 23 4d 37 30 |sley; AP|DA #M70|
|00001500| 37 33 2c 20 24 31 39 2e | 39 35 29 2e 0d 53 79 73 |73, $19.|95)..Sys|
|00001510| 74 65 6d 20 37 20 61 6e | 64 20 6d 6f 64 69 66 69 |tem 7 an|d modifi|
|00001520| 65 64 20 66 6f 6e 74 73 | 0d 57 72 69 74 74 65 6e |ed fonts|.Written|
|00001530| 3a 09 36 2f 32 31 2f 39 | 31 0d 4c 61 73 74 20 72 |:.6/21/9|1.Last r|
|00001540| 65 76 69 65 77 65 64 3a | 09 38 2f 31 2f 39 32 0d |eviewed:|.8/1/92.|
|00001550| 57 65 20 73 68 69 70 20 | 6d 6f 64 69 66 69 65 64 |We ship |modified|
|00001560| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 74 68 65 | version|s of the|
|00001570| 20 43 68 69 63 61 67 6f | 20 61 6e 64 20 47 65 6e | Chicago| and Gen|
|00001580| 65 76 61 20 66 6f 6e 74 | 73 20 61 6e 64 20 74 68 |eva font|s and th|
|00001590| 65 69 72 20 46 4f 4e 44 | 73 20 69 6e 20 6f 75 72 |eir FOND|s in our|
|000015a0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 72 | applica|tion.s r|
|000015b0| 65 73 6f 75 72 63 65 20 | 66 6f 72 6b 2e 20 57 69 |esource |fork. Wi|
|000015c0| 74 68 20 53 79 73 74 65 | 6d 20 36 2c 20 77 68 65 |th Syste|m 6, whe|
|000015d0| 6e 20 77 65 20 61 73 6b | 20 66 6f 72 20 66 6f 6e |n we ask| for fon|
|000015e0| 74 20 30 20 6f 72 20 66 | 6f 6e 74 20 33 2c 20 77 |t 0 or f|ont 3, w|
|000015f0| 65 20 67 65 74 20 6f 75 | 72 20 6d 6f 64 69 66 69 |e get ou|r modifi|
|00001600| 65 64 20 66 6f 6e 74 73 | 20 69 6e 20 77 69 6e 64 |ed fonts| in wind|
|00001610| 6f 77 73 2c 20 62 75 74 | 74 6f 6e 73 2c 20 6d 65 |ows, but|tons, me|
|00001620| 6e 75 73 20 61 6e 64 20 | 64 69 61 6c 6f 67 73 2c |nus and |dialogs,|
|00001630| 20 62 75 74 20 6e 6f 74 | 20 77 69 74 68 20 53 79 | but not| with Sy|
|00001640| 73 74 65 6d 20 37 2e 20 | 49 73 20 74 68 65 72 65 |stem 7. |Is there|
|00001650| 20 61 20 6e 65 77 20 77 | 61 79 20 74 6f 20 74 65 | a new w|ay to te|
|00001660| 6c 6c 20 53 79 73 74 65 | 6d 20 37 20 74 6f 20 75 |ll Syste|m 7 to u|
|00001670| 73 65 20 6d 79 20 76 65 | 72 73 69 6f 6e 20 6f 66 |se my ve|rsion of|
|00001680| 20 43 68 69 63 61 67 6f | 20 31 32 20 74 6f 20 64 | Chicago| 12 to d|
|00001690| 69 73 70 6c 61 79 20 61 | 6c 6c 20 73 79 73 74 65 |isplay a|ll syste|
|000016a0| 6d 20 72 65 6c 61 74 65 | 64 20 73 74 75 66 66 3f |m relate|d stuff?|
|000016b0| 0d 5f 5f 5f 0d 57 68 61 | 74 d5 73 20 68 61 70 70 |.___.Wha|t.s happ|
|000016c0| 65 6e 65 64 20 69 73 20 | 74 68 61 74 20 74 68 65 |ened is |that the|
|000016d0| 20 73 79 73 74 65 6d 20 | 73 6f 66 74 77 61 72 65 | system |software|
|000016e0| 20 69 73 20 62 65 69 6e | 67 20 6d 75 63 68 20 6d | is bein|g much m|
|000016f0| 6f 72 65 20 73 74 72 69 | 63 74 20 61 62 6f 75 74 |ore stri|ct about|
|00001700| 20 77 68 6f 73 65 20 d2 | 43 68 69 63 61 67 6f d3 | whose .|Chicago.|
|00001710| 20 69 74 20 75 73 65 73 | 20 66 6f 72 20 6d 65 6e | it uses| for men|
|00001720| 75 73 20 61 6e 64 20 64 | 69 61 6c 6f 67 73 2e 20 |us and d|ialogs. |
|00001730| 54 68 65 20 4d 65 6e 75 | 20 61 6e 64 20 43 6f 6e |The Menu| and Con|
|00001740| 74 72 6f 6c 20 4d 61 6e | 61 67 65 72 73 20 6e 6f |trol Man|agers no|
|00001750| 77 20 6f 6e 6c 79 20 6c | 6f 6f 6b 20 61 74 20 74 |w only l|ook at t|
|00001760| 68 65 20 73 79 73 74 65 | 6d 20 66 69 6c 65 20 66 |he syste|m file f|
|00001770| 6f 72 20 74 68 65 20 43 | 68 69 63 61 67 6f 20 74 |or the C|hicago t|
|00001780| 68 65 79 20 75 73 65 2e | 0d 54 68 65 72 65 20 61 |hey use.|.There a|
|00001790| 72 65 20 61 20 63 6f 75 | 70 6c 65 20 6f 66 20 77 |re a cou|ple of w|
|000017a0| 61 79 73 20 74 6f 20 67 | 65 74 20 61 72 6f 75 6e |ays to g|et aroun|
|000017b0| 64 20 74 68 69 73 3a 20 | 46 69 72 73 74 2c 20 79 |d this: |First, y|
|000017c0| 6f 75 20 63 61 6e 20 74 | 72 79 20 70 61 74 63 68 |ou can t|ry patch|
|000017d0| 69 6e 67 20 44 72 61 77 | 53 74 72 69 6e 67 20 72 |ing Draw|String r|
|000017e0| 69 67 68 74 20 62 65 66 | 6f 72 65 20 63 61 6c 6c |ight bef|ore call|
|000017f0| 69 6e 67 20 4d 65 6e 75 | 53 65 6c 65 63 74 20 69 |ing Menu|Select i|
|00001800| 6e 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 2e 20 |n your p|rogram. |
|00001810| 54 68 65 20 70 61 74 63 | 68 20 77 6f 75 6c 64 20 |The patc|h would |
|00001820| 73 65 6c 65 63 74 20 79 | 6f 75 72 20 43 68 69 63 |select y|our Chic|
|00001830| 61 67 6f 20 61 6e 64 20 | 74 68 65 6e 20 6a 75 6d |ago and |then jum|
|00001840| 70 20 74 6f 20 74 68 65 | 20 73 74 61 6e 64 61 72 |p to the| standar|
|00001850| 64 20 44 72 61 77 53 74 | 72 69 6e 67 2e 20 41 66 |d DrawSt|ring. Af|
|00001860| 74 65 72 20 4d 65 6e 75 | 53 65 6c 65 63 74 2c 20 |ter Menu|Select, |
|00001870| 72 65 6d 6f 76 65 20 74 | 68 65 20 70 61 74 63 68 |remove t|he patch|
|00001880| 2e 20 54 68 65 20 64 69 | 73 61 64 76 61 6e 74 61 |. The di|sadvanta|
|00001890| 67 65 20 6f 66 20 74 68 | 69 73 20 6d 65 74 68 6f |ge of th|is metho|
|000018a0| 64 20 69 73 20 74 68 61 | 74 2c 20 69 66 20 61 20 |d is tha|t, if a |
|000018b0| 66 75 74 75 72 65 20 73 | 79 73 74 65 6d 20 73 6f |future s|ystem so|
|000018c0| 66 74 77 61 72 65 20 72 | 65 6c 65 61 73 65 20 64 |ftware r|elease d|
|000018d0| 6f 65 73 6e d5 74 20 75 | 73 65 20 44 72 61 77 53 |oesn.t u|se DrawS|
|000018e0| 74 72 69 6e 67 20 66 6f | 72 20 64 72 61 77 69 6e |tring fo|r drawin|
|000018f0| 67 20 6d 65 6e 75 73 2c | 20 74 68 65 20 70 61 74 |g menus,| the pat|
|00001900| 63 68 20 77 6f 75 6c 64 | 20 63 65 61 73 65 20 74 |ch would| cease t|
|00001910| 6f 20 68 61 76 65 20 61 | 6e 79 20 65 66 66 65 63 |o have a|ny effec|
|00001920| 74 2e 0d 41 20 62 65 74 | 74 65 72 20 73 6f 6c 75 |t..A bet|ter solu|
|00001930| 74 69 6f 6e 20 69 73 20 | 74 6f 20 77 72 69 74 65 |tion is |to write|
|00001940| 20 79 6f 75 72 20 6f 77 | 6e 20 6d 65 6e 75 20 61 | your ow|n menu a|
|00001950| 6e 64 20 63 6f 6e 74 72 | 6f 6c 20 64 65 66 69 6e |nd contr|ol defin|
|00001960| 69 74 69 6f 6e 20 63 6f | 64 65 d1 69 6e 20 6f 74 |ition co|de.in ot|
|00001970| 68 65 72 20 77 6f 72 64 | 73 2c 20 79 6f 75 72 20 |her word|s, your |
|00001980| 6f 77 6e 20 63 75 73 74 | 6f 6d 20 4d 44 45 46 20 |own cust|om MDEF |
|00001990| 61 6e 64 20 43 44 45 46 | 73 2e 20 54 68 65 20 77 |and CDEF|s. The w|
|000019a0| 61 79 20 79 6f 75 20 74 | 79 70 69 63 61 6c 6c 79 |ay you t|ypically|
|000019b0| 20 64 6f 20 74 68 69 73 | 20 69 73 20 74 6f 20 67 | do this| is to g|
|000019c0| 65 74 20 61 20 63 6f 70 | 79 20 6f 66 20 74 68 65 |et a cop|y of the|
|000019d0| 20 73 74 61 6e 64 61 72 | 64 20 4d 61 63 69 6e 74 | standar|d Macint|
|000019e0| 6f 73 68 20 73 79 73 74 | 65 6d d5 73 20 4d 44 45 |osh syst|em.s MDE|
|000019f0| 46 20 6f 72 20 43 44 45 | 46 2c 20 61 6e 64 20 61 |F or CDE|F, and a|
|00001a00| 6c 74 65 72 20 69 74 20 | 74 6f 20 79 6f 75 72 20 |lter it |to your |
|00001a10| 73 70 65 63 69 66 69 63 | 61 74 69 6f 6e 73 2e 20 |specific|ations. |
|00001a20| 49 6e 20 79 6f 75 72 20 | 63 61 73 65 2c 20 74 68 |In your |case, th|
|00001a30| 69 73 20 77 6f 75 6c 64 | 20 62 65 20 6d 65 72 65 |is would| be mere|
|00001a40| 6c 79 20 73 65 6c 65 63 | 74 69 6e 67 20 79 6f 75 |ly selec|ting you|
|00001a50| 72 20 66 6f 6e 74 20 69 | 6e 73 74 65 61 64 20 6f |r font i|nstead o|
|00001a60| 66 20 74 68 65 20 73 79 | 73 74 65 6d 20 66 6f 6e |f the sy|stem fon|
|00001a70| 74 2e 20 4e 61 6d 65 20 | 79 6f 75 72 20 66 6f 6e |t. Name |your fon|
|00001a80| 74 20 73 6f 6d 65 74 68 | 69 6e 67 20 6f 74 68 65 |t someth|ing othe|
|00001a90| 72 20 74 68 61 6e 20 43 | 68 69 63 61 67 6f 20 61 |r than C|hicago a|
|00001aa0| 6e 64 20 6a 75 73 74 20 | 73 65 6c 65 63 74 20 74 |nd just |select t|
|00001ab0| 68 61 74 20 66 6f 6e 74 | 20 62 79 20 6e 61 6d 65 |hat font| by name|
|00001ac0| 20 69 6e 20 74 68 65 20 | 6d 65 6e 75 20 6f 72 20 | in the |menu or |
|00001ad0| 63 6f 6e 74 72 6f 6c d5 | 73 20 64 72 61 77 20 72 |control.|s draw r|
|00001ae0| 6f 75 74 69 6e 65 2e 20 | 54 68 65 20 43 6f 6e 74 |outine. |The Cont|
|00001af0| 72 6f 6c 20 61 6e 64 20 | 4d 65 6e 75 20 4d 61 6e |rol and |Menu Man|
|00001b00| 61 67 65 72 20 63 68 61 | 70 74 65 72 73 20 69 6e |ager cha|pters in|
|00001b10| 20 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 | Inside |Macintos|
|00001b20| 68 20 56 6f 6c 75 6d 65 | 20 49 20 68 61 76 65 20 |h Volume| I have |
|00001b30| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00001b40| 20 6f 6e 20 77 72 69 74 | 69 6e 67 20 63 75 73 74 | on writ|ing cust|
|00001b50| 6f 6d 20 64 65 66 69 6e | 69 74 69 6f 6e 73 2e 20 |om defin|itions. |
|00001b60| 54 68 65 72 65 20 69 73 | 20 6f 6e 6c 79 20 6f 6e |There is| only on|
|00001b70| 65 20 70 72 6f 62 6c 65 | 6d 20 77 69 74 68 20 74 |e proble|m with t|
|00001b80| 68 69 73 20 72 69 67 68 | 74 20 6e 6f 77 3a 20 57 |his righ|t now: W|
|00001b90| 68 69 6c 65 20 74 68 65 | 20 53 79 73 74 65 6d 20 |hile the| System |
|00001ba0| 36 20 4d 44 45 46 20 61 | 6e 64 20 43 44 45 46 20 |6 MDEF a|nd CDEF |
|00001bb0| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 20 6f 6e |are avai|lable on|
|00001bc0| 20 41 70 70 6c 65 4c 69 | 6e 6b 2c 20 74 68 65 20 | AppleLi|nk, the |
|00001bd0| 53 79 73 74 65 6d 20 37 | 20 76 65 72 73 69 6f 6e |System 7| version|
|00001be0| 73 20 61 72 65 20 6e 6f | 74 20 61 76 61 69 6c 61 |s are no|t availa|
|00001bf0| 62 6c 65 20 79 65 74 2c | 20 61 6c 74 68 6f 75 67 |ble yet,| althoug|
|00001c00| 68 20 74 68 65 79 20 77 | 69 6c 6c 20 62 65 20 73 |h they w|ill be s|
|00001c10| 6f 6f 6e 2e 0d 41 20 6e | 6f 74 65 20 6f 6e 20 74 |oon..A n|ote on t|
|00001c20| 68 65 20 75 73 65 20 6f | 66 20 43 68 69 63 61 67 |he use o|f Chicag|
|00001c30| 6f 20 69 6e 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |o in you|r applic|
|00001c40| 61 74 69 6f 6e 3a 20 41 | 73 20 74 68 65 20 4a 75 |ation: A|s the Ju|
|00001c50| 6e 65 20 31 39 39 31 20 | 65 64 69 74 69 6f 6e 20 |ne 1991 |edition |
|00001c60| 6f 66 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |of the M|acintosh|
|00001c70| 20 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 20 | Technic|al Note |
|00001c80| d2 46 6f 6e 74 20 46 61 | 6d 69 6c 79 20 4e 75 6d |.Font Fa|mily Num|
|00001c90| 62 65 72 73 d3 20 6d 65 | 6e 74 69 6f 6e 73 2c 20 |bers. me|ntions, |
|00001ca0| 66 6f 6e 74 73 20 61 72 | 65 20 63 6f 70 79 72 69 |fonts ar|e copyri|
|00001cb0| 67 68 74 65 64 20 6d 61 | 74 65 72 69 61 6c 2e 20 |ghted ma|terial. |
|00001cc0| 41 70 70 6c 65 20 6f 77 | 6e 73 20 74 68 65 20 43 |Apple ow|ns the C|
|00001cd0| 68 69 63 61 67 6f 20 66 | 6f 6e 74 20 61 6e 64 20 |hicago f|ont and |
|00001ce0| 74 79 70 65 66 61 63 65 | 2c 20 73 6f 20 62 65 20 |typeface|, so be |
|00001cf0| 73 75 72 65 20 79 6f 75 | 20 63 68 65 63 6b 20 69 |sure you| check i|
|00001d00| 6e 74 6f 20 6c 69 63 65 | 6e 73 69 6e 67 20 69 73 |nto lice|nsing is|
|00001d10| 73 75 65 73 20 62 65 66 | 6f 72 65 20 72 65 6c 65 |sues bef|ore rele|
|00001d20| 61 73 69 6e 67 20 61 6e | 79 20 76 65 72 73 69 6f |asing an|y versio|
|00001d30| 6e 2c 20 61 6c 74 65 72 | 65 64 20 6f 72 20 75 6e |n, alter|ed or un|
|00001d40| 61 6c 74 65 72 65 64 2c | 20 77 69 74 68 20 79 6f |altered,| with yo|
|00001d50| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2e 0d |ur appli|cation..|
|00001d60| 53 70 61 6e 69 73 68 20 | 74 79 70 6f 67 72 61 70 |Spanish |typograp|
|00001d70| 68 69 63 20 6d 65 61 73 | 75 72 65 6d 65 6e 74 73 |hic meas|urements|
|00001d80| 0d 57 72 69 74 74 65 6e | 3a 09 31 32 2f 31 30 2f |.Written|:.12/10/|
|00001d90| 39 31 0d 4c 61 73 74 20 | 72 65 76 69 65 77 65 64 |91.Last |reviewed|
|00001da0| 3a 09 38 2f 31 2f 39 32 | 0d 57 68 61 74 20 74 79 |:.8/1/92|.What ty|
|00001db0| 70 6f 67 72 61 70 68 69 | 63 61 6c 20 6d 65 61 73 |pographi|cal meas|
|00001dc0| 75 72 65 6d 65 6e 74 20 | 69 73 73 75 65 73 20 6d |urement |issues m|
|00001dd0| 75 73 74 20 62 65 20 63 | 6f 6e 73 69 64 65 72 65 |ust be c|onsidere|
|00001de0| 64 20 66 6f 72 20 53 70 | 61 6e 69 73 68 20 73 79 |d for Sp|anish sy|
|00001df0| 73 74 65 6d 73 3f 20 44 | 6f 20 74 68 65 20 53 70 |stems? D|o the Sp|
|00001e00| 61 6e 69 73 68 20 73 70 | 65 63 69 66 79 20 74 79 |anish sp|ecify ty|
|00001e10| 70 65 20 69 6e 20 63 69 | 63 65 72 6f 73 20 61 6e |pe in ci|ceros an|
|00001e20| 64 20 64 69 64 6f 74 73 | 20 69 6e 73 74 65 61 64 |d didots| instead|
|00001e30| 20 6f 66 20 70 6f 69 6e | 74 73 3f 0d 5f 5f 5f 0d | of poin|ts?.___.|
|00001e40| 49 66 20 74 79 70 65 73 | 65 74 74 69 6e 67 20 69 |If types|etting i|
|00001e50| 73 20 64 6f 6e 65 20 69 | 6e 20 53 70 61 69 6e 20 |s done i|n Spain |
|00001e60| 77 69 74 68 20 63 6f 6d | 70 75 74 65 72 73 2c 20 |with com|puters, |
|00001e70| 55 2e 53 2e 20 73 74 61 | 6e 64 61 72 64 73 20 67 |U.S. sta|ndards g|
|00001e80| 65 6e 65 72 61 6c 6c 79 | 20 61 72 65 20 75 73 65 |enerally| are use|
|00001e90| 64 2e 20 49 74 20 69 73 | 20 6f 6e 6c 79 20 77 68 |d. It is| only wh|
|00001ea0| 65 6e 20 74 79 70 65 73 | 65 74 74 69 6e 67 20 69 |en types|etting i|
|00001eb0| 73 20 64 6f 6e 65 20 74 | 68 65 20 6f 6c 64 2d 66 |s done t|he old-f|
|00001ec0| 61 73 68 69 6f 6e 65 64 | 20 77 61 79 20 74 68 61 |ashioned| way tha|
|00001ed0| 74 20 79 6f 75 d5 6c 6c | 20 73 65 65 20 64 69 66 |t you.ll| see dif|
|00001ee0| 66 65 72 65 6e 74 20 6d | 65 61 73 75 72 65 6d 65 |ferent m|easureme|
|00001ef0| 6e 74 73 2e 0d 50 61 70 | 65 72 20 73 69 7a 65 73 |nts..Pap|er sizes|
|00001f00| 20 61 72 65 20 64 69 66 | 66 65 72 65 6e 74 2e 20 | are dif|ferent. |
|00001f10| 49 6e 20 53 70 61 69 6e | 20 44 49 4e 2d 34 34 20 |In Spain| DIN-44 |
|00001f20| 28 32 31 30 20 78 20 32 | 39 37 29 2c 20 44 49 4e |(210 x 2|97), DIN|
|00001f30| 2d 41 33 20 28 34 32 30 | 20 78 20 32 39 37 29 20 |-A3 (420| x 297) |
|00001f40| 61 6e 64 20 d2 66 6f 6c | 69 6f d3 20 28 32 31 35 |and .fol|io. (215|
|00001f50| 20 78 20 33 31 35 29 20 | 61 72 65 20 75 73 65 64 | x 315) |are used|
|00001f60| 2e 20 41 73 20 61 6c 77 | 61 79 73 2c 20 79 6f 75 |. As alw|ays, you|
|00001f70| d5 6c 6c 20 62 65 20 77 | 6f 72 6b 69 6e 67 20 77 |.ll be w|orking w|
|00001f80| 69 74 68 20 37 32 20 64 | 70 69 20 66 6f 72 20 74 |ith 72 d|pi for t|
|00001f90| 68 65 20 73 63 72 65 65 | 6e 20 28 61 6e 64 20 61 |he scree|n (and a|
|00001fa0| 6e 79 20 74 69 6d 65 20 | 79 6f 75 20 75 73 65 20 |ny time |you use |
|00001fb0| 51 75 69 63 6b 44 72 61 | 77 29 20 62 75 74 20 73 |QuickDra|w) but s|
|00001fc0| 6f 6d 65 74 68 69 6e 67 | 20 64 69 66 66 65 72 65 |omething| differe|
|00001fd0| 6e 74 20 6f 6e 20 70 61 | 70 65 72 2c 20 73 6f 20 |nt on pa|per, so |
|00001fe0| 79 6f 75 d5 6c 6c 20 6e | 65 65 64 20 74 6f 20 75 |you.ll n|eed to u|
|00001ff0| 73 65 20 50 72 47 65 6e | 65 72 61 6c 20 61 6e 64 |se PrGen|eral and|
|00002000| 20 69 6d 61 67 65 20 74 | 68 65 20 73 74 75 66 66 | image t|he stuff|
|00002010| 20 79 6f 75 72 73 65 6c | 66 20 74 6f 20 61 20 72 | yoursel|f to a r|
|00002020| 65 73 6f 6c 75 74 69 6f | 6e 20 74 68 61 74 20 61 |esolutio|n that a|
|00002030| 6c 6c 6f 77 73 20 79 6f | 75 20 63 6f 6e 74 72 6f |llows yo|u contro|
|00002040| 6c 20 6f 76 65 72 20 79 | 6f 75 72 20 69 6d 61 67 |l over y|our imag|
|00002050| 69 6e 67 20 66 6f 72 20 | 70 72 69 6e 74 69 6e 67 |ing for |printing|
|00002060| 2e 20 54 68 69 73 20 69 | 73 20 64 65 74 61 69 6c |. This i|s detail|
|00002070| 65 64 20 69 6e 20 74 68 | 65 20 61 72 74 69 63 6c |ed in th|e articl|
|00002080| 65 2c 20 d2 4d 65 65 74 | 20 50 72 47 65 6e 65 72 |e, .Meet| PrGener|
|00002090| 61 6c 2c 20 74 68 65 20 | 54 72 61 70 20 54 68 61 |al, the |Trap Tha|
|000020a0| 74 20 4d 61 6b 65 73 20 | 74 68 65 20 4d 6f 73 74 |t Makes |the Most|
|000020b0| 20 6f 66 20 74 68 65 20 | 50 72 69 6e 74 69 6e 67 | of the |Printing|
|000020c0| 20 4d 61 6e 61 67 65 72 | 2c d3 20 69 6e 20 69 73 | Manager|,. in is|
|000020d0| 73 75 65 20 23 33 20 6f | 66 20 64 65 76 65 6c 6f |sue #3 o|f develo|
|000020e0| 70 2e 0d 48 65 72 65 20 | 61 72 65 20 74 68 65 20 |p..Here |are the |
|000020f0| 6d 65 61 73 75 72 65 6d | 65 6e 74 73 20 75 73 65 |measurem|ents use|
|00002100| 64 20 69 6e 20 53 70 61 | 69 6e 3a 0d a5 20 44 65 |d in Spa|in:.. De|
|00002110| 63 69 6d 61 6c 20 70 6f | 69 6e 74 20 28 44 69 64 |cimal po|int (Did|
|00002120| 6f 74 29 20 28 30 2e 33 | 37 35 39 20 6d 6d 29 0d |ot) (0.3|759 mm).|
|00002130| a5 20 4d 69 6c 6c 69 6d | 65 74 65 72 0d a5 20 43 |. Millim|eter.. C|
|00002140| 69 63 65 72 6f 20 28 31 | 32 20 64 65 63 69 6d 61 |icero (1|2 decima|
|00002150| 6c 20 70 6f 69 6e 74 73 | 29 0d a5 20 43 65 6e 74 |l points|).. Cent|
|00002160| 69 6d 65 74 65 72 0d a5 | 20 49 6e 63 68 65 73 0d |imeter..| Inches.|
|00002170| 53 65 74 4f 75 74 6c 69 | 6e 65 50 72 65 66 65 72 |SetOutli|nePrefer|
|00002180| 72 65 64 20 3d 20 54 52 | 55 45 20 6f 72 20 6e 6f |red = TR|UE or no|
|00002190| 74 3f 0d 57 72 69 74 74 | 65 6e 3a 09 31 32 2f 32 |t?.Writt|en:.12/2|
|000021a0| 2f 39 31 0d 4c 61 73 74 | 20 72 65 76 69 65 77 65 |/91.Last| reviewe|
|000021b0| 64 3a 09 38 2f 31 2f 39 | 32 0d 4d 79 20 61 70 70 |d:.8/1/9|2.My app|
|000021c0| 6c 69 63 61 74 69 6f 6e | 20 63 61 6c 6c 73 20 53 |lication| calls S|
|000021d0| 65 74 4f 75 74 6c 69 6e | 65 50 72 65 66 65 72 72 |etOutlin|ePreferr|
|000021e0| 65 64 20 73 6f 20 6f 75 | 74 6c 69 6e 65 20 66 6f |ed so ou|tline fo|
|000021f0| 6e 74 73 20 61 72 65 20 | 75 73 65 64 20 69 66 20 |nts are |used if |
|00002200| 62 6f 74 68 20 62 69 74 | 6d 61 70 70 65 64 20 61 |both bit|mapped a|
|00002210| 6e 64 20 54 72 75 65 54 | 79 70 65 20 66 6f 6e 74 |nd TrueT|ype font|
|00002220| 73 20 61 72 65 20 69 6e | 20 74 68 65 20 73 79 73 |s are in| the sys|
|00002230| 74 65 6d 2e 20 49 74 20 | 77 61 73 20 72 65 70 6f |tem. It |was repo|
|00002240| 72 74 65 64 20 74 6f 20 | 6d 65 2c 20 68 6f 77 65 |rted to |me, howe|
|00002250| 76 65 72 2c 20 74 68 61 | 74 20 73 6f 6d 65 20 69 |ver, tha|t some i|
|00002260| 6e 74 65 72 6e 61 74 69 | 6f 6e 61 6c 20 54 72 75 |nternati|onal Tru|
|00002270| 65 54 79 70 65 20 66 6f | 6e 74 73 20 69 6e 20 70 |eType fo|nts in p|
|00002280| 61 72 74 69 63 75 6c 61 | 72 20 6c 6f 6f 6b 20 72 |articula|r look r|
|00002290| 65 61 6c 6c 79 20 62 61 | 64 20 61 74 20 73 6d 61 |eally ba|d at sma|
|000022a0| 6c 6c 20 70 6f 69 6e 74 | 20 73 69 7a 65 73 20 6f |ll point| sizes o|
|000022b0| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 2e 20 53 68 |n the sc|reen. Sh|
|000022c0| 6f 75 6c 64 20 49 20 61 | 76 6f 69 64 20 63 61 6c |ould I a|void cal|
|000022d0| 6c 69 6e 67 20 74 68 69 | 73 20 66 75 6e 63 74 69 |ling thi|s functi|
|000022e0| 6f 6e 3f 0d 5f 5f 5f 0d | 53 65 74 4f 75 74 6c 69 |on?.___.|SetOutli|
|000022f0| 6e 65 50 72 65 66 65 72 | 72 65 64 20 69 73 20 62 |nePrefer|red is b|
|00002300| 65 73 74 20 75 73 65 64 | 20 61 73 20 61 20 75 73 |est used| as a us|
|00002310| 65 72 2d 73 65 6c 65 63 | 74 61 62 6c 65 20 6f 70 |er-selec|table op|
|00002320| 74 69 6f 6e 2e 20 41 6c | 6f 6e 67 20 74 68 65 20 |tion. Al|ong the |
|00002330| 73 61 6d 65 20 6c 69 6e | 65 73 2c 20 79 6f 75 20 |same lin|es, you |
|00002340| 6d 69 67 68 74 20 77 61 | 6e 74 20 74 6f 20 69 6e |might wa|nt to in|
|00002350| 63 6c 75 64 65 20 74 68 | 65 20 53 65 74 50 72 65 |clude th|e SetPre|
|00002360| 73 65 72 76 65 47 6c 79 | 70 68 20 63 61 6c 6c 20 |serveGly|ph call |
|00002370| 28 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 |(Inside |Macintos|
|00002380| 68 20 56 6f 6c 75 6d 65 | 20 56 49 2c 20 70 61 67 |h Volume| VI, pag|
|00002390| 65 20 31 32 2d 32 31 29 | 2c 20 61 67 61 69 6e 2c |e 12-21)|, again,|
|000023a0| 20 61 73 20 61 20 75 73 | 65 72 2d 73 65 6c 65 63 | as a us|er-selec|
|000023b0| 74 61 62 6c 65 20 6f 70 | 74 69 6f 6e 2e 0d 43 75 |table op|tion..Cu|
|000023c0| 72 72 65 6e 74 6c 79 2c | 20 61 73 20 79 6f 75 20 |rrently,| as you |
|000023d0| 6b 6e 6f 77 2c 20 74 68 | 65 20 64 65 66 61 75 6c |know, th|e defaul|
|000023e0| 74 20 66 6f 72 20 6f 75 | 74 6c 69 6e 65 50 72 65 |t for ou|tlinePre|
|000023f0| 66 65 72 72 65 64 20 69 | 73 20 46 41 4c 53 45 3b |ferred i|s FALSE;|
|00002400| 20 74 68 69 73 20 69 73 | 20 66 6f 72 20 63 6f 6d | this is| for com|
|00002410| 70 61 74 69 62 69 6c 69 | 74 79 20 72 65 61 73 6f |patibili|ty reaso|
|00002420| 6e 73 20 28 65 78 69 73 | 74 69 6e 67 20 64 6f 63 |ns (exis|ting doc|
|00002430| 75 6d 65 6e 74 73 20 64 | 6f 6e d5 74 20 67 65 74 |uments d|on.t get|
|00002440| 20 72 65 66 6c 6f 77 65 | 64 20 69 66 20 74 68 65 | reflowe|d if the|
|00002450| 20 62 69 74 6d 61 70 20 | 66 6f 6e 74 73 20 61 72 | bitmap |fonts ar|
|00002460| 65 20 73 74 69 6c 6c 20 | 61 72 6f 75 6e 64 29 20 |e still |around) |
|00002470| 61 6e 64 20 66 6f 72 20 | 65 73 74 68 65 74 69 63 |and for |esthetic|
|00002480| 20 61 6e 64 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 | and per|formance|
|00002490| 20 72 65 61 73 6f 6e 73 | 20 28 75 73 65 72 73 20 | reasons| (users |
|000024a0| 61 72 65 20 66 72 65 65 | 20 74 6f 20 6d 61 69 6e |are free| to main|
|000024b0| 74 61 69 6e 20 62 69 74 | 6d 61 70 20 66 6f 6e 74 |tain bit|map font|
|000024c0| 73 20 69 6e 20 74 68 65 | 20 73 6d 61 6c 6c 65 72 |s in the| smaller|
|000024d0| 20 70 6f 69 6e 74 20 73 | 69 7a 65 73 20 69 66 20 | point s|izes if |
|000024e0| 74 68 65 20 54 72 75 65 | 54 79 70 65 20 76 65 72 |the True|Type ver|
|000024f0| 73 69 6f 6e 20 69 73 20 | 6e 6f 74 20 73 61 74 69 |sion is |not sati|
|00002500| 73 66 79 69 6e 67 20 66 | 6f 72 20 73 6d 61 6c 6c |sfying f|or small|
|00002510| 20 73 69 7a 65 73 2c 20 | 6f 72 20 74 6f 6f 20 73 | sizes, |or too s|
|00002520| 6c 6f 77 29 2e 20 4f 6e | 20 74 68 65 20 6f 74 68 |low). On| the oth|
|00002530| 65 72 20 68 61 6e 64 2c | 20 61 73 20 73 6f 6f 6e |er hand,| as soon|
|00002540| 20 61 73 20 61 20 62 69 | 74 6d 61 70 20 66 6f 6e | as a bi|tmap fon|
|00002550| 74 20 69 73 20 2a 75 6e | 2a 61 76 61 69 6c 61 62 |t is *un|*availab|
|00002560| 6c 65 20 66 6f 72 20 61 | 20 72 65 71 75 65 73 74 |le for a| request|
|00002570| 65 64 20 70 6f 69 6e 74 | 20 73 69 7a 65 2c 20 61 |ed point| size, a|
|00002580| 6e 64 20 61 6e 20 6f 75 | 74 6c 69 6e 65 20 66 6f |nd an ou|tline fo|
|00002590| 6e 74 20 69 73 20 70 72 | 65 73 65 6e 74 2c 20 74 |nt is pr|esent, t|
|000025a0| 68 65 20 6f 75 74 6c 69 | 6e 65 20 66 6f 6e 74 20 |he outli|ne font |
|000025b0| 69 73 20 75 73 65 64 20 | 65 76 65 6e 20 77 69 74 |is used |even wit|
|000025c0| 68 20 6f 75 74 6c 69 6e | 65 50 72 65 66 65 72 72 |h outlin|ePreferr|
|000025d0| 65 64 20 3d 20 46 41 4c | 53 45 2e 20 53 65 74 74 |ed = FAL|SE. Sett|
|000025e0| 69 6e 67 20 6f 75 74 6c | 69 6e 65 50 72 65 66 65 |ing outl|inePrefe|
|000025f0| 72 72 65 64 20 3d 20 54 | 52 55 45 20 6d 61 6b 65 |rred = T|RUE make|
|00002600| 73 20 61 20 64 69 66 66 | 65 72 65 6e 63 65 20 6f |s a diff|erence o|
|00002610| 6e 6c 79 20 66 6f 72 20 | 70 6f 69 6e 74 20 73 69 |nly for |point si|
|00002620| 7a 65 73 20 77 68 65 72 | 65 20 61 20 62 69 74 6d |zes wher|e a bitm|
|00002630| 61 70 20 66 6f 6e 74 20 | 73 74 72 69 6b 65 20 69 |ap font |strike i|
|00002640| 73 20 70 72 65 73 65 6e | 74 20 61 6c 6f 6e 67 20 |s presen|t along |
|00002650| 77 69 74 68 20 61 20 27 | 73 66 6e 74 27 20 69 6e |with a '|sfnt' in|
|00002660| 20 74 68 65 20 73 61 6d | 65 20 66 61 6d 69 6c 79 | the sam|e family|
|00002670| 2f 73 74 79 6c 65 2e 0d | 54 72 75 65 54 79 70 65 |/style..|TrueType|
|00002680| 20 66 6f 6e 74 73 20 6d | 69 67 68 74 20 62 65 20 | fonts m|ight be |
|00002690| 70 72 65 66 65 72 61 62 | 6c 65 20 65 76 65 6e 20 |preferab|le even |
|000026a0| 66 6f 72 20 73 6d 61 6c | 6c 20 70 6f 69 6e 74 20 |for smal|l point |
|000026b0| 73 69 7a 65 73 20 69 66 | 20 6c 69 6e 65 61 72 6c |sizes if| linearl|
|000026c0| 79 20 73 63 61 6c 65 64 | 20 63 68 61 72 61 63 74 |y scaled| charact|
|000026d0| 65 72 20 77 69 64 74 68 | 73 20 61 72 65 20 6d 6f |er width|s are mo|
|000026e0| 72 65 20 69 6d 70 6f 72 | 74 61 6e 74 20 74 68 61 |re impor|tant tha|
|000026f0| 6e 20 73 63 72 65 65 6e | 20 72 65 6e 64 65 72 69 |n screen| renderi|
|00002700| 6e 67 3a 20 49 66 20 74 | 68 65 20 6d 61 69 6e 20 |ng: If t|he main |
|00002710| 70 75 72 70 6f 73 65 20 | 6f 66 20 61 20 70 72 6f |purpose |of a pro|
|00002720| 67 72 61 6d 20 69 73 20 | 70 72 65 70 72 69 6e 74 |gram is |preprint|
|00002730| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 66 6f 72 20 | process|ing for |
|00002740| 61 20 68 69 67 68 2d 72 | 65 73 6f 6c 75 74 69 6f |a high-r|esolutio|
|00002750| 6e 20 6f 75 74 70 75 74 | 20 64 65 76 69 63 65 2c |n output| device,|
|00002760| 20 74 68 65 6e 20 6f 75 | 74 6c 69 6e 65 50 72 65 | then ou|tlinePre|
|00002770| 66 65 72 72 65 64 20 3d | 20 54 52 55 45 20 6d 61 |ferred =| TRUE ma|
|00002780| 79 20 67 69 76 65 20 62 | 65 74 74 65 72 20 6c 69 |y give b|etter li|
|00002790| 6e 65 20 6c 61 79 6f 75 | 74 20 72 65 73 75 6c 74 |ne layou|t result|
|000027a0| 73 20 6f 6e 20 74 68 65 | 20 70 72 69 6e 74 65 72 |s on the| printer|
|000027b0| 2c 20 61 74 20 74 68 65 | 20 70 72 69 63 65 20 6f |, at the| price o|
|000027c0| 66 20 d2 6e 6f 74 20 73 | 6f 20 67 72 65 61 74 d3 |f .not s|o great.|
|000027d0| 20 74 79 70 65 20 72 65 | 6e 64 65 72 69 6e 67 20 | type re|ndering |
|000027e0| 6f 6e 20 61 20 37 32 20 | 64 70 69 20 73 63 72 65 |on a 72 |dpi scre|
|000027f0| 65 6e 2e 20 28 41 6e 20 | 65 78 61 6d 70 6c 65 20 |en. (An |example |
|00002800| 66 6f 72 20 74 68 65 20 | 63 6f 6e 66 6c 69 63 74 |for the |conflict|
|00002810| 20 62 65 74 77 65 65 6e | 20 6c 69 6e 65 61 72 6c | between| linearl|
|00002820| 79 20 73 63 61 6c 69 6e | 67 20 54 72 75 65 54 79 |y scalin|g TrueTy|
|00002830| 70 65 20 61 6e 64 20 6e | 6f 6e 2d 6c 69 6e 65 61 |pe and n|on-linea|
|00002840| 72 6c 79 20 73 63 61 6c | 65 64 20 62 69 74 6d 61 |rly scal|ed bitma|
|00002850| 70 20 66 6f 6e 74 73 20 | 69 73 20 48 65 6c 76 65 |p fonts |is Helve|
|00002860| 74 69 63 61 3a 20 53 74 | 72 69 6e 67 57 69 64 74 |tica: St|ringWidt|
|00002870| 68 28 27 4c 69 6c 6c 69 | 27 29 20 72 65 74 75 72 |h('Lilli|') retur|
|00002880| 6e 73 20 31 39 20 66 6f | 72 20 74 68 65 20 31 32 |ns 19 fo|r the 12|
|00002890| 2d 70 6f 69 6e 74 20 62 | 69 74 6d 61 70 20 66 6f |-point b|itmap fo|
|000028a0| 6e 74 2c 20 61 6e 64 20 | 31 35 20 66 6f 72 20 74 |nt, and |15 for t|
|000028b0| 68 65 20 31 33 2d 70 6f | 69 6e 74 20 20 73 69 7a |he 13-po|int siz|
|000028c0| 65 20 66 72 6f 6d 20 54 | 72 75 65 54 79 70 65 21 |e from T|rueType!|
|000028d0| 29 0d 41 6c 6c 20 74 68 | 69 73 20 62 6f 69 6c 73 |).All th|is boils|
|000028e0| 20 64 6f 77 6e 20 74 6f | 20 74 68 65 20 72 65 63 | down to| the rec|
|000028f0| 6f 6d 6d 65 6e 64 61 74 | 69 6f 6e 20 73 74 61 74 |ommendat|ion stat|
|00002900| 65 64 20 69 6e 69 74 69 | 61 6c 6c 79 3a 20 54 68 |ed initi|ally: Th|
|00002910| 65 20 75 73 65 72 20 73 | 68 6f 75 6c 64 20 62 65 |e user s|hould be|
|00002920| 20 67 69 76 65 6e 20 74 | 68 65 20 66 6c 65 78 69 | given t|he flexi|
|00002930| 62 69 6c 69 74 79 20 74 | 6f 20 64 65 63 69 64 65 |bility t|o decide|
|00002940| 20 77 68 65 74 68 65 72 | 20 74 6f 20 75 73 65 20 | whether| to use |
|00002950| 74 68 65 20 65 78 69 73 | 74 69 6e 67 20 62 69 74 |the exis|ting bit|
|00002960| 6d 61 70 73 20 28 75 73 | 69 6e 67 20 54 72 75 65 |maps (us|ing True|
|00002970| 54 79 70 65 20 6f 6e 6c | 79 20 66 6f 72 20 62 69 |Type onl|y for bi|
|00002980| 67 67 65 72 20 70 6f 69 | 6e 74 20 73 69 7a 65 73 |gger poi|nt sizes|
|00002990| 20 61 6e 64 20 68 69 67 | 68 2d 72 65 73 6f 6c 75 | and hig|h-resolu|
|000029a0| 74 69 6f 6e 20 70 72 69 | 6e 74 65 72 73 29 2c 20 |tion pri|nters), |
|000029b0| 6f 72 20 74 6f 20 67 6f | 20 77 69 74 68 20 54 72 |or to go| with Tr|
|000029c0| 75 65 54 79 70 65 20 65 | 76 65 6e 20 69 66 20 74 |ueType e|ven if t|
|000029d0| 68 65 20 72 65 73 75 6c | 74 20 6f 6e 20 74 68 65 |he resul|t on the|
|000029e0| 20 73 63 72 65 65 6e 20 | 69 73 20 6e 6f 74 20 6f | screen |is not o|
|000029f0| 70 74 69 6d 61 6c 2e 20 | 28 42 79 20 74 68 65 20 |ptimal. |(By the |
|00002a00| 77 61 79 2c 20 69 74 d5 | 73 20 6c 69 6b 65 6c 79 |way, it.|s likely|
|00002a10| 20 74 68 61 74 20 54 72 | 75 65 54 79 70 65 20 64 | that Tr|ueType d|
|00002a20| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 77 69 6c 6c 20 |evelopme|nt will |
|00002a30| 73 75 62 73 74 61 6e 74 | 69 61 6c 6c 79 20 72 65 |substant|ially re|
|00002a40| 64 75 63 65 20 74 68 69 | 73 20 63 6f 6e 66 6c 69 |duce thi|s confli|
|00002a50| 63 74 20 69 6e 20 74 68 | 65 20 66 75 74 75 72 65 |ct in th|e future|
|00002a60| 2e 29 0d 46 6f 6e 74 52 | 65 63 20 66 6f 6e 74 54 |.).FontR|ec fontT|
|00002a70| 79 70 65 20 66 69 65 6c | 64 20 61 6e 64 20 64 65 |ype fiel|d and de|
|00002a80| 74 65 72 6d 69 6e 69 6e | 67 20 6d 6f 6e 6f 73 70 |terminin|g monosp|
|00002a90| 61 63 65 64 20 66 6f 6e | 74 73 0d 57 72 69 74 74 |aced fon|ts.Writt|
|00002aa0| 65 6e 3a 09 31 2f 31 33 | 2f 39 32 0d 4c 61 73 74 |en:.1/13|/92.Last|
|00002ab0| 20 72 65 76 69 65 77 65 | 64 3a 09 38 2f 31 2f 39 | reviewe|d:.8/1/9|
|00002ac0| 32 0d 48 6f 77 20 63 61 | 6e 20 49 20 63 72 65 61 |2.How ca|n I crea|
|00002ad0| 74 65 20 61 20 6d 65 6e | 75 20 74 68 61 74 20 63 |te a men|u that c|
|00002ae0| 6f 6e 74 61 69 6e 73 20 | 6f 6e 6c 79 20 66 69 78 |ontains |only fix|
|00002af0| 65 64 20 77 69 64 74 68 | 20 66 6f 6e 74 73 3f 20 |ed width| fonts? |
|00002b00| 54 68 65 20 46 6f 6e 74 | 52 65 63 20 72 65 63 6f |The Font|Rec reco|
|00002b10| 72 64 d5 73 20 66 6f 6e | 74 54 79 70 65 20 66 69 |rd.s fon|tType fi|
|00002b20| 65 6c 64 20 64 6f 65 73 | 6e d5 74 20 63 6f 72 72 |eld does|n.t corr|
|00002b30| 65 63 74 6c 79 20 74 65 | 6c 6c 20 6d 65 20 69 66 |ectly te|ll me if|
|00002b40| 20 74 68 65 20 66 6f 6e | 74 20 69 73 20 66 69 78 | the fon|t is fix|
|00002b50| 65 64 20 77 69 64 74 68 | 20 61 73 20 49 6e 73 69 |ed width| as Insi|
|00002b60| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 20 56 6f 6c |de Macin|tosh Vol|
|00002b70| 75 6d 65 20 56 20 73 61 | 79 73 20 69 74 20 73 68 |ume V sa|ys it sh|
|00002b80| 6f 75 6c 64 2e 20 41 6c | 6c 20 73 79 73 74 65 6d |ould. Al|l system|
|00002b90| 20 66 6f 6e 74 73 20 61 | 70 70 65 61 72 20 74 6f | fonts a|ppear to|
|00002ba0| 20 68 61 76 65 20 74 68 | 65 20 73 61 6d 65 20 66 | have th|e same f|
|00002bb0| 6f 6e 74 54 79 70 65 20 | 72 65 67 61 72 64 6c 65 |ontType |regardle|
|00002bc0| 73 73 20 6f 66 20 77 68 | 65 74 68 65 72 20 74 68 |ss of wh|ether th|
|00002bd0| 65 79 20 61 72 65 20 66 | 69 78 65 64 20 6f 72 20 |ey are f|ixed or |
|00002be0| 70 72 6f 70 6f 72 74 69 | 6f 6e 61 6c 2e 20 43 75 |proporti|onal. Cu|
|00002bf0| 72 72 65 6e 74 6c 79 20 | 49 20 74 65 73 74 20 69 |rrently |I test i|
|00002c00| 66 20 74 68 65 20 77 69 | 64 74 68 20 6f 66 20 74 |f the wi|dth of t|
|00002c10| 68 65 20 63 68 61 72 61 | 63 74 65 72 73 20 d2 6d |he chara|cters .m|
|00002c20| d3 20 61 6e 64 20 d2 69 | d3 20 61 72 65 20 65 71 |. and .i|. are eq|
|00002c30| 75 61 6c 20 61 6e 64 20 | 69 66 20 74 68 65 79 20 |ual and |if they |
|00002c40| 61 72 65 2c 20 49 20 63 | 6f 6e 73 69 64 65 72 20 |are, I c|onsider |
|00002c50| 74 68 65 20 66 6f 6e 74 | 20 74 6f 20 62 65 20 66 |the font| to be f|
|00002c60| 69 78 65 64 20 77 69 64 | 74 68 2e 20 49 73 20 74 |ixed wid|th. Is t|
|00002c70| 68 65 72 65 20 61 6e 20 | 65 61 73 69 65 72 20 28 |here an |easier (|
|00002c80| 61 6e 64 20 66 61 73 74 | 65 72 21 29 20 77 61 79 |and fast|er!) way|
|00002c90| 3f 0d 5f 5f 5f 0d 54 68 | 65 20 46 6f 6e 74 20 4d |?.___.Th|e Font M|
|00002ca0| 61 6e 61 67 65 72 20 64 | 6f 63 75 6d 65 6e 74 61 |anager d|ocumenta|
|00002cb0| 74 69 6f 6e 20 69 73 20 | 6e 6f 74 20 65 78 70 6c |tion is |not expl|
|00002cc0| 69 63 69 74 20 65 6e 6f | 75 67 68 20 61 62 6f 75 |icit eno|ugh abou|
|00002cd0| 74 20 74 68 65 20 66 61 | 63 74 20 74 68 61 74 20 |t the fa|ct that |
|00002ce0| 62 69 74 20 31 33 20 28 | 30 78 32 30 30 30 29 20 |bit 13 (|0x2000) |
|00002cf0| 6f 66 20 74 68 65 20 66 | 6f 6e 74 54 79 70 65 20 |of the f|ontType |
|00002d00| 66 69 65 6c 64 20 69 73 | 20 62 61 73 69 63 61 6c |field is| basical|
|00002d10| 6c 79 20 75 73 65 6c 65 | 73 73 2e 20 4e 65 69 74 |ly usele|ss. Neit|
|00002d20| 68 65 72 20 64 6f 65 73 | 20 74 68 65 20 46 6f 6e |her does| the Fon|
|00002d30| 74 20 4d 61 6e 61 67 65 | 72 20 63 68 65 63 6b 20 |t Manage|r check |
|00002d40| 74 68 65 20 73 65 74 74 | 69 6e 67 20 6f 66 20 74 |the sett|ing of t|
|00002d50| 68 69 73 20 62 69 74 2c | 20 6e 6f 72 20 64 6f 65 |his bit,| nor doe|
|00002d60| 73 20 51 75 69 63 6b 44 | 72 61 77 20 28 6f 72 20 |s QuickD|raw (or |
|00002d70| 61 6e 79 20 70 72 69 6e | 74 65 72 20 64 72 69 76 |any prin|ter driv|
|00002d80| 65 72 29 2e 20 41 73 20 | 79 6f 75 20 6f 62 73 65 |er). As |you obse|
|00002d90| 72 76 65 64 2c 20 6d 6f | 6e 6f 73 70 61 63 65 64 |rved, mo|nospaced|
|00002da0| 20 66 6f 6e 74 73 20 6c | 69 6b 65 20 4d 6f 6e 61 | fonts l|ike Mona|
|00002db0| 63 6f 20 6f 72 20 43 6f | 75 72 69 65 72 20 64 6f |co or Co|urier do|
|00002dc0| 6e d5 74 20 68 61 76 65 | 20 74 68 65 20 62 69 74 |n.t have| the bit|
|00002dd0| 20 73 65 74 3b 20 73 6f | 20 74 68 65 20 6d 65 61 | set; so| the mea|
|00002de0| 6e 69 6e 67 20 6f 66 20 | 74 68 69 73 20 62 69 74 |ning of |this bit|
|00002df0| 20 69 73 20 6a 75 73 74 | 20 70 65 72 76 65 72 74 | is just| pervert|
|00002e00| 65 64 20 74 6f 20 6e 6f | 6e 73 65 6e 73 65 d1 73 |ed to no|nsense.s|
|00002e10| 6f 72 72 79 21 20 49 6e | 20 61 64 64 69 74 69 6f |orry! In| additio|
|00002e20| 6e 2c 20 74 68 65 20 66 | 6f 6e 74 54 79 70 65 20 |n, the f|ontType |
|00002e30| 66 69 65 6c 64 20 6f 6e | 6c 79 20 69 73 20 61 76 |field on|ly is av|
|00002e40| 61 69 6c 61 62 6c 65 20 | 66 6f 72 20 27 46 4f 4e |ailable |for 'FON|
|00002e50| 54 27 73 20 61 6e 64 20 | 27 4e 46 4e 54 27 73 3b |T's and |'NFNT's;|
|00002e60| 20 69 74 20 64 6f 65 73 | 20 6e 6f 74 20 65 78 69 | it does| not exi|
|00002e70| 73 74 20 69 6e 20 27 73 | 66 6e 74 27 73 2c 20 61 |st in 's|fnt's, a|
|00002e80| 6e 64 20 79 6f 75 20 77 | 6f 75 6c 64 20 68 61 76 |nd you w|ould hav|
|00002e90| 65 20 74 6f 20 63 68 65 | 63 6b 20 73 65 70 61 72 |e to che|ck separ|
|00002ea0| 61 74 65 6c 79 20 66 6f | 72 20 74 68 65 20 72 65 |ately fo|r the re|
|00002eb0| 73 6f 75 72 63 65 20 74 | 79 70 65 20 6f 66 20 74 |source t|ype of t|
|00002ec0| 68 65 20 66 6f 6e 74 2e | 0d 59 6f 75 72 20 69 64 |he font.|.Your id|
|00002ed0| 65 61 20 6f 66 20 63 6f | 6d 70 61 72 69 6e 67 20 |ea of co|mparing |
|00002ee0| 74 68 65 20 77 69 64 74 | 68 73 20 6f 66 20 d2 6d |the widt|hs of .m|
|00002ef0| d3 20 61 6e 64 20 d2 69 | d3 20 28 6f 72 20 61 6e |. and .i|. (or an|
|00002f00| 79 20 6f 74 68 65 72 20 | 63 68 61 72 61 63 74 65 |y other |characte|
|00002f10| 72 73 20 77 68 69 63 68 | 20 61 72 65 20 65 78 74 |rs which| are ext|
|00002f20| 72 65 6d 65 6c 79 20 75 | 6e 6c 69 6b 65 6c 79 20 |remely u|nlikely |
|00002f30| 74 6f 20 68 61 76 65 20 | 74 68 65 20 73 61 6d 65 |to have |the same|
|00002f40| 20 77 69 64 74 68 73 20 | 69 6e 20 61 20 70 72 6f | widths |in a pro|
|00002f50| 70 6f 72 74 69 6f 6e 61 | 6c 6c 79 20 73 70 61 63 |portiona|lly spac|
|00002f60| 65 64 20 66 6f 6e 74 29 | 20 69 73 20 69 6e 64 65 |ed font)| is inde|
|00002f70| 65 64 20 74 68 65 20 6f | 6e 6c 79 20 72 65 61 73 |ed the o|nly reas|
|00002f80| 6f 6e 61 62 6c 65 20 77 | 61 79 20 6f 66 20 66 69 |onable w|ay of fi|
|00002f90| 67 75 72 69 6e 67 20 6f | 75 74 20 69 66 20 61 20 |guring o|ut if a |
|00002fa0| 66 6f 6e 74 20 69 73 20 | 6d 6f 6e 6f 73 70 61 63 |font is |monospac|
|00002fb0| 65 64 2e 0d 47 65 74 74 | 69 6e 67 20 67 6c 6f 62 |ed..Gett|ing glob|
|00002fc0| 61 6c 20 77 69 64 74 68 | 20 74 61 62 6c 65 20 66 |al width| table f|
|00002fd0| 6f 72 20 61 20 66 6f 6e | 74 20 73 70 65 63 69 66 |or a fon|t specif|
|00002fe0| 69 63 61 74 69 6f 6e 0d | 57 72 69 74 74 65 6e 3a |ication.|Written:|
|00002ff0| 09 34 2f 32 32 2f 39 32 | 0d 4c 61 73 74 20 72 65 |.4/22/92|.Last re|
|00003000| 76 69 65 77 65 64 3a 09 | 38 2f 31 2f 39 32 0d 57 |viewed:.|8/1/92.W|
|00003010| 68 61 74 d5 73 20 74 68 | 65 20 66 61 73 74 65 73 |hat.s th|e fastes|
|00003020| 74 20 77 61 79 20 74 6f | 20 67 65 74 20 74 68 65 |t way to| get the|
|00003030| 20 77 69 64 74 68 20 74 | 61 62 6c 65 20 66 6f 72 | width t|able for|
|00003040| 20 61 20 67 69 76 65 6e | 20 66 6f 6e 74 3f 20 46 | a given| font? F|
|00003050| 6f 6e 74 4d 65 74 72 69 | 63 73 20 69 73 20 74 6f |ontMetri|cs is to|
|00003060| 6f 20 73 6c 6f 77 2c 20 | 65 73 70 65 63 69 61 6c |o slow, |especial|
|00003070| 6c 79 20 69 6e 20 63 6f | 6c 6f 72 2e 20 49 73 20 |ly in co|lor. Is |
|00003080| 74 68 65 72 65 20 61 6e | 79 20 6f 74 68 65 72 20 |there an|y other |
|00003090| 63 61 6c 6c 20 74 68 61 | 74 20 77 69 6c 6c 20 67 |call tha|t will g|
|000030a0| 65 74 20 74 68 65 20 67 | 6c 6f 62 61 6c 20 77 69 |et the g|lobal wi|
|000030b0| 64 74 68 20 74 61 62 6c | 65 20 73 65 74 20 75 70 |dth tabl|e set up|
|000030c0| 20 63 6f 72 72 65 63 74 | 6c 79 3f 20 54 68 61 74 | correct|ly? That|
|000030d0| 20 69 73 20 61 6c 6c 20 | 74 68 61 74 20 77 65 20 | is all |that we |
|000030e0| 6e 65 65 64 20 66 72 6f | 6d 20 74 68 65 20 63 61 |need fro|m the ca|
|000030f0| 6c 6c 20 74 6f 20 46 6f | 6e 74 4d 65 74 72 69 63 |ll to Fo|ntMetric|
|00003100| 73 2e 0d 5f 5f 5f 0d 46 | 6f 6e 74 4d 65 74 72 69 |s..___.F|ontMetri|
|00003110| 63 73 20 64 6f 65 73 20 | 6e 6f 74 20 68 61 76 65 |cs does |not have|
|00003120| 20 6d 75 63 68 20 6f 76 | 65 72 68 65 61 64 20 69 | much ov|erhead i|
|00003130| 6e 20 73 65 74 74 69 6e | 67 20 75 70 20 74 68 65 |n settin|g up the|
|00003140| 20 77 69 64 74 68 20 74 | 61 62 6c 65 2e 20 49 74 | width t|able. It|
|00003150| 20 64 6f 65 73 20 61 20 | 64 75 6d 6d 79 20 44 72 | does a |dummy Dr|
|00003160| 61 77 43 68 61 72 28 27 | 20 27 29 3b 20 74 68 69 |awChar('| '); thi|
|00003170| 73 20 69 73 20 76 65 72 | 79 20 72 61 70 69 64 6c |s is ver|y rapidl|
|00003180| 79 20 74 72 61 6e 73 66 | 6f 72 6d 65 64 20 69 6e |y transf|ormed in|
|00003190| 74 6f 20 61 20 63 61 6c | 6c 20 74 6f 20 53 74 64 |to a cal|l to Std|
|000031a0| 54 65 78 74 2c 20 61 6e | 64 20 53 74 64 54 65 78 |Text, an|d StdTex|
|000031b0| 74 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 63 61 |t immedi|ately ca|
|000031c0| 6c 6c 73 20 53 74 64 54 | 78 4d 65 61 73 2e 20 54 |lls StdT|xMeas. T|
|000031d0| 68 65 20 66 69 72 73 74 | 20 74 68 69 6e 67 20 53 |he first| thing S|
|000031e0| 74 64 54 78 4d 65 61 73 | 20 64 6f 65 73 20 69 73 |tdTxMeas| does is|
|000031f0| 20 74 6f 20 73 65 74 20 | 75 70 20 74 68 65 20 69 | to set |up the i|
|00003200| 6e 70 75 74 20 70 61 72 | 61 6d 65 74 65 72 73 20 |nput par|ameters |
|00003210| 66 6f 72 20 61 20 46 4d | 53 77 61 70 46 6f 6e 74 |for a FM|SwapFont|
|00003220| 20 63 61 6c 6c 20 61 6e | 64 20 63 61 6c 6c 20 69 | call an|d call i|
|00003230| 74 2e 20 46 4d 53 77 61 | 70 46 6f 6e 74 20 69 73 |t. FMSwa|pFont is|
|00003240| 20 74 68 65 20 68 65 61 | 72 74 20 6f 66 20 74 68 | the hea|rt of th|
|00003250| 65 20 46 6f 6e 74 20 4d | 61 6e 61 67 65 72 2c 20 |e Font M|anager, |
|00003260| 61 6e 64 20 64 6f 65 73 | 20 61 6c 6c 20 74 68 65 |and does| all the|
|00003270| 20 77 6f 72 6b 2e 20 49 | 74 20 63 6f 6d 65 73 20 | work. I|t comes |
|00003280| 62 61 63 6b 20 77 69 74 | 68 20 74 68 65 20 46 4d |back wit|h the FM|
|00003290| 4f 75 74 70 75 74 20 72 | 65 63 6f 72 64 2c 20 74 |Output r|ecord, t|
|000032a0| 68 65 20 66 6f 6e 74 20 | 73 74 72 69 6b 65 2c 20 |he font |strike, |
|000032b0| 61 6e 64 20 74 68 65 20 | 77 69 64 74 68 20 74 61 |and the |width ta|
|000032c0| 62 6c 65 2e 20 46 72 6f | 6d 20 74 68 65 72 65 2c |ble. Fro|m there,|
|000032d0| 20 46 6f 6e 74 4d 65 74 | 72 69 63 73 20 64 65 72 | FontMet|rics der|
|000032e0| 69 76 65 73 20 74 68 65 | 20 76 61 6c 75 65 73 20 |ives the| values |
|000032f0| 69 74 20 6e 65 65 64 73 | 20 74 6f 20 62 72 69 6e |it needs| to brin|
|00003300| 67 20 62 61 63 6b 2e 0d | 59 6f 75 20 70 72 6f 62 |g back..|You prob|
|00003310| 61 62 6c 79 20 77 6f 75 | 6c 64 6e d5 74 20 73 61 |ably wou|ldn.t sa|
|00003320| 76 65 20 6d 75 63 68 20 | 6d 6f 72 65 20 74 68 61 |ve much |more tha|
|00003330| 6e 20 31 2f 31 30 30 30 | 74 68 20 6f 66 20 61 20 |n 1/1000|th of a |
|00003340| 73 65 63 6f 6e 64 20 69 | 66 2c 20 69 6e 73 74 65 |second i|f, inste|
|00003350| 61 64 20 6f 66 20 63 61 | 6c 6c 69 6e 67 20 46 6f |ad of ca|lling Fo|
|00003360| 6e 74 4d 65 74 72 69 63 | 73 2c 20 79 6f 75 20 63 |ntMetric|s, you c|
|00003370| 61 6c 6c 65 64 20 46 4d | 53 77 61 70 46 6f 6e 74 |alled FM|SwapFont|
|00003380| 20 65 78 70 6c 69 63 69 | 74 6c 79 20 79 6f 75 72 | explici|tly your|
|00003390| 73 65 6c 66 d1 6f 75 72 | 20 6f 6e 6c 79 20 61 6c |self.our| only al|
|000033a0| 74 65 72 6e 61 74 69 76 | 65 20 73 75 67 67 65 73 |ternativ|e sugges|
|000033b0| 74 69 6f 6e 2e 0d 54 68 | 65 20 46 6f 6e 74 20 4d |tion..Th|e Font M|
|000033c0| 61 6e 61 67 65 72 20 64 | 6f 65 73 20 71 75 69 74 |anager d|oes quit|
|000033d0| 65 20 61 20 6c 6f 74 20 | 6f 66 20 63 61 63 68 69 |e a lot |of cachi|
|000033e0| 6e 67 20 28 75 70 20 74 | 6f 20 31 32 20 77 69 64 |ng (up t|o 12 wid|
|000033f0| 74 68 20 74 61 62 6c 65 | 73 29 2c 20 61 6e 64 20 |th table|s), and |
|00003400| 6d 61 6e 61 67 69 6e 67 | 20 74 68 65 20 63 61 63 |managing| the cac|
|00003410| 68 65 20 74 61 6b 65 73 | 20 73 6f 6d 65 20 63 79 |he takes| some cy|
|00003420| 63 6c 65 73 2c 20 74 6f | 6f 2e 20 49 66 20 74 68 |cles, to|o. If th|
|00003430| 65 72 65 20 69 73 20 6e | 6f 74 68 69 6e 67 20 69 |ere is n|othing i|
|00003440| 6e 20 74 68 65 20 63 61 | 63 68 65 20 63 6f 72 72 |n the ca|che corr|
|00003450| 65 73 70 6f 6e 64 69 6e | 67 20 74 6f 20 74 68 65 |espondin|g to the|
|00003460| 20 66 6f 6e 74 20 72 65 | 71 75 65 73 74 2c 20 74 | font re|quest, t|
|00003470| 68 65 20 63 61 63 68 65 | 20 6d 61 6b 65 73 20 74 |he cache| makes t|
|00003480| 68 65 20 63 61 6c 6c 20 | 65 76 65 6e 20 73 6c 6f |he call |even slo|
|00003490| 77 65 72 20 74 68 61 6e | 20 69 74 20 77 6f 75 6c |wer than| it woul|
|000034a0| 64 20 62 65 20 77 69 74 | 68 6f 75 74 20 63 61 63 |d be wit|hout cac|
|000034b0| 68 65 2e 0d 54 68 65 20 | 6e 65 78 74 20 73 6f 75 |he..The |next sou|
|000034c0| 72 63 65 20 6f 66 20 6f | 76 65 72 68 65 61 64 20 |rce of o|verhead |
|000034d0| 69 73 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |is the R|esource |
|000034e0| 4d 61 6e 61 67 65 72 2e | 20 4c 6f 6f 6b 69 6e 67 |Manager.| Looking|
|000034f0| 20 66 6f 72 20 61 20 73 | 70 65 63 69 66 69 63 20 | for a s|pecific |
|00003500| 66 6f 6e 74 20 69 6e 76 | 6f 6c 76 65 73 20 67 6f |font inv|olves go|
|00003510| 69 6e 67 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |ing thro|ugh the |
|00003520| 77 68 6f 6c 65 20 72 65 | 73 6f 75 72 63 65 20 63 |whole re|source c|
|00003530| 68 61 69 6e 20 66 69 72 | 73 74 20 66 6f 72 20 74 |hain fir|st for t|
|00003540| 68 65 20 46 4f 4e 44 20 | 28 69 66 20 6e 6f 6e 65 |he FOND |(if none|
|00003550| 20 69 73 20 66 6f 75 6e | 64 2c 20 74 68 65 20 73 | is foun|d, the s|
|00003560| 65 61 72 63 68 20 72 65 | 73 74 61 72 74 73 20 66 |earch re|starts f|
|00003570| 6f 72 20 61 20 46 4f 4e | 54 29 2c 20 61 6e 64 20 |or a FON|T), and |
|00003580| 74 68 65 6e 2c 20 62 61 | 73 65 64 20 6f 6e 20 74 |then, ba|sed on t|
|00003590| 68 65 20 46 4f 4e 44 d5 | 73 20 66 6f 6e 74 20 61 |he FOND.|s font a|
|000035a0| 73 73 6f 63 69 61 74 69 | 6f 6e 20 74 61 62 6c 65 |ssociati|on table|
|000035b0| 2c 20 66 6f 72 20 61 20 | 4e 46 4e 54 20 6f 72 20 |, for a |NFNT or |
|000035c0| 27 73 66 6e 74 27 2e 20 | 49 66 20 6e 6f 20 4e 46 |'sfnt'. |If no NF|
|000035d0| 4e 54 20 69 73 20 66 6f | 75 6e 64 2c 20 74 68 65 |NT is fo|und, the|
|000035e0| 20 73 65 61 72 63 68 20 | 72 65 73 74 61 72 74 73 | search |restarts|
|000035f0| 20 66 6f 72 20 61 20 46 | 4f 4e 54 2c 20 61 6c 77 | for a F|ONT, alw|
|00003600| 61 79 73 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |ays thro|ugh the |
|00003610| 77 68 6f 6c 65 20 72 65 | 73 6f 75 72 63 65 20 63 |whole re|source c|
|00003620| 68 61 69 6e 2e 20 46 6f | 72 20 61 20 68 75 67 65 |hain. Fo|r a huge|
|00003630| 20 72 65 73 6f 75 72 63 | 65 20 66 6f 72 6b 20 6c | resourc|e fork l|
|00003640| 69 6b 65 20 69 6e 20 74 | 68 65 20 53 79 73 74 65 |ike in t|he Syste|
|00003650| 6d 20 66 69 6c 65 20 28 | 61 6e 64 2c 20 6d 61 79 |m file (|and, may|
|00003660| 62 65 2c 20 61 6c 73 6f | 20 69 6e 20 79 6f 75 72 |be, also| in your|
|00003670| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 29 2c 20 74 | applica|tion), t|
|00003680| 68 65 20 74 69 6d 65 20 | 73 70 65 6e 74 20 69 6e |he time |spent in|
|00003690| 20 74 68 65 20 52 65 73 | 6f 75 72 63 65 20 4d 61 | the Res|ource Ma|
|000036a0| 6e 61 67 65 72 20 69 73 | 20 6e 6f 74 20 6e 65 67 |nager is| not neg|
|000036b0| 6c 69 67 61 62 6c 65 d1 | 69 6e 20 70 61 72 74 69 |ligable.|in parti|
|000036c0| 63 75 6c 61 72 2c 20 69 | 66 20 79 6f 75 20 68 61 |cular, i|f you ha|
|000036d0| 76 65 20 61 64 64 2d 6f | 6e 73 20 69 6e 20 79 6f |ve add-o|ns in yo|
|000036e0| 75 72 20 73 79 73 74 65 | 6d 20 28 73 75 63 68 20 |ur syste|m (such |
|000036f0| 61 73 20 49 4e 49 54 73 | 20 6f 72 20 27 63 64 65 |as INITs| or 'cde|
|00003700| 76 27 73 29 20 74 68 61 | 74 20 70 61 74 63 68 20 |v's) tha|t patch |
|00003710| 6f 75 74 20 52 65 73 6f | 75 72 63 65 20 4d 61 6e |out Reso|urce Man|
|00003720| 61 67 65 72 20 63 61 6c | 6c 73 2c 20 6d 61 79 62 |ager cal|ls, mayb|
|00003730| 65 20 73 65 76 65 72 61 | 6c 20 74 69 6d 65 73 2c |e severa|l times,|
|00003740| 20 61 6e 64 20 75 73 75 | 61 6c 6c 79 20 73 6c 6f | and usu|ally slo|
|00003750| 77 20 69 74 20 64 6f 77 | 6e 20 63 6f 6e 73 69 64 |w it dow|n consid|
|00003760| 65 72 61 62 6c 79 21 0d | 45 76 65 6e 20 69 6e 20 |erably!.|Even in |
|00003770| 63 61 73 65 20 74 68 69 | 73 20 68 75 72 64 6c 65 |case thi|s hurdle|
|00003780| 20 69 73 20 6f 76 65 72 | 63 6f 6d 65 20 73 77 69 | is over|come swi|
|00003790| 66 74 6c 79 20 28 61 66 | 74 65 72 20 61 6c 6c 2c |ftly (af|ter all,|
|000037a0| 20 74 68 65 20 52 65 73 | 6f 75 72 63 65 20 4d 61 | the Res|ource Ma|
|000037b0| 6e 61 67 65 72 20 68 61 | 73 20 69 74 73 20 6f 77 |nager ha|s its ow|
|000037c0| 6e 20 63 61 63 68 69 6e | 67 20 73 63 68 65 6d 65 |n cachin|g scheme|
|000037d0| 20 66 6f 72 20 6f 70 74 | 69 6d 69 7a 61 74 69 6f | for opt|imizatio|
|000037e0| 6e 29 2c 20 74 68 65 20 | 6e 65 78 74 20 73 74 65 |n), the |next ste|
|000037f0| 70 20 6e 65 63 65 73 73 | 61 72 69 6c 79 20 74 61 |p necess|arily ta|
|00003800| 6b 65 73 20 73 6f 6d 65 | 20 74 69 6d 65 2c 20 61 |kes some| time, a|
|00003810| 6e 64 2c 20 61 73 20 79 | 6f 75 20 68 61 76 65 20 |nd, as y|ou have |
|00003820| 6f 62 73 65 72 76 65 64 | 2c 20 65 73 70 65 63 69 |observed|, especi|
|00003830| 61 6c 6c 79 20 6f 6e 20 | 61 20 63 6f 6c 6f 72 20 |ally on |a color |
|00003840| 73 79 73 74 65 6d 3a 20 | 49 74 20 63 6f 6e 73 69 |system: |It consi|
|00003850| 73 74 73 20 6f 66 20 61 | 63 74 75 61 6c 6c 79 20 |sts of a|ctually |
|00003860| 70 72 6f 76 69 64 69 6e | 67 20 74 68 65 20 62 69 |providin|g the bi|
|00003870| 74 6d 61 70 20 66 6f 72 | 20 74 68 65 20 66 6f 6e |tmap for| the fon|
|00003880| 74 20 73 74 72 69 6b 65 | 2e 20 49 66 20 74 68 65 |t strike|. If the|
|00003890| 20 73 63 72 65 65 6e 20 | 64 65 70 74 68 20 69 73 | screen |depth is|
|000038a0| 20 3e 31 2c 20 74 68 69 | 73 20 69 6e 76 6f 6c 76 | >1, thi|s involv|
|000038b0| 65 73 20 63 72 65 61 74 | 69 6e 67 20 d2 73 79 6e |es creat|ing .syn|
|000038c0| 74 68 65 74 69 63 d3 20 | 66 6f 6e 74 73 20 66 6f |thetic. |fonts fo|
|000038d0| 72 20 74 68 65 20 63 6f | 72 72 65 63 74 20 73 63 |r the co|rrect sc|
|000038e0| 72 65 65 6e 20 64 65 70 | 74 68 2c 20 74 6f 20 6f |reen dep|th, to o|
|000038f0| 70 74 69 6d 69 7a 65 20 | 74 65 78 74 20 64 72 61 |ptimize |text dra|
|00003900| 77 69 6e 67 2e 20 41 6c | 73 6f 2c 20 69 66 20 74 |wing. Al|so, if t|
|00003910| 68 65 20 66 6f 6e 74 20 | 69 73 20 61 6e 20 6f 75 |he font |is an ou|
|00003920| 74 6c 69 6e 65 20 66 6f | 6e 74 2c 20 74 68 65 20 |tline fo|nt, the |
|00003930| 66 69 72 73 74 20 74 69 | 6d 65 20 61 20 66 6f 6e |first ti|me a fon|
|00003940| 74 20 73 74 72 69 6b 65 | 20 68 61 73 20 74 6f 20 |t strike| has to |
|00003950| 62 65 20 72 61 73 74 65 | 72 69 7a 65 64 20 69 73 |be raste|rized is|
|00003960| 20 71 75 69 74 65 20 63 | 6f 73 74 6c 79 20 69 6e | quite c|ostly in|
|00003970| 20 74 65 72 6d 73 20 6f | 66 20 6d 61 63 68 69 6e | terms o|f machin|
|00003980| 65 20 63 79 63 6c 65 73 | 2e 0d 46 69 6e 61 6c 6c |e cycles|..Finall|
|00003990| 79 2c 20 74 68 65 20 77 | 69 64 74 68 20 74 61 62 |y, the w|idth tab|
|000039a0| 6c 65 20 63 61 6e 20 62 | 65 20 63 72 65 61 74 65 |le can b|e create|
|000039b0| 64 3b 20 61 6e 64 2c 20 | 62 65 63 61 75 73 65 20 |d; and, |because |
|000039c0| 6f 66 20 74 68 65 20 73 | 63 61 6c 69 6e 67 20 66 |of the s|caling f|
|000039d0| 61 63 74 6f 72 73 20 69 | 6e 76 6f 6c 76 65 64 2c |actors i|nvolved,|
|000039e0| 20 74 68 69 73 20 72 65 | 71 75 69 72 65 73 20 32 | this re|quires 2|
|000039f0| 35 36 20 74 69 6d 65 73 | 20 73 6f 6d 65 20 61 72 |56 times| some ar|
|00003a00| 69 74 68 6d 65 74 69 63 | 20 77 68 69 63 68 20 69 |ithmetic| which i|
|00003a10| 73 20 6b 6e 6f 77 6e 20 | 6e 65 76 65 72 20 74 6f |s known |never to|
|00003a20| 20 62 65 20 66 61 73 74 | 20 65 6e 6f 75 67 68 2e | be fast| enough.|
|00003a30| 0d 41 6c 6c 20 74 68 69 | 73 20 63 65 72 74 61 69 |.All thi|s certai|
|00003a40| 6e 6c 79 20 67 69 76 65 | 73 20 75 73 20 61 6e 20 |nly give|s us an |
|00003a50| 75 6e 64 65 72 73 74 61 | 6e 64 69 6e 67 20 66 6f |understa|nding fo|
|00003a60| 72 20 74 68 65 20 74 69 | 6d 65 20 69 74 20 74 61 |r the ti|me it ta|
|00003a70| 6b 65 73 20 46 4d 53 77 | 61 70 46 6f 6e 74 20 28 |kes FMSw|apFont (|
|00003a80| 46 6f 6e 74 4d 65 74 72 | 69 63 73 29 20 74 6f 20 |FontMetr|ics) to |
|00003a90| 67 65 74 20 74 68 65 20 | 6a 6f 62 20 64 6f 6e 65 |get the |job done|
|00003aa0| 2c 20 62 75 74 20 69 74 | 20 64 6f 65 73 20 6e 6f |, but it| does no|
|00003ab0| 74 20 73 6f 6c 76 65 20 | 79 6f 75 72 20 70 72 6f |t solve |your pro|
|00003ac0| 62 6c 65 6d 2e 0d 44 65 | 70 65 6e 64 69 6e 67 20 |blem..De|pending |
|00003ad0| 6f 6e 20 68 6f 77 20 70 | 72 65 64 69 63 74 61 62 |on how p|redictab|
|00003ae0| 6c 65 20 74 68 65 20 75 | 73 61 67 65 20 6f 66 20 |le the u|sage of |
|00003af0| 66 6f 6e 74 73 20 61 6e | 64 20 77 69 64 74 68 20 |fonts an|d width |
|00003b00| 74 61 62 6c 65 73 20 69 | 6e 20 79 6f 75 72 20 61 |tables i|n your a|
|00003b10| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 2c 20 79 |pplicati|on is, y|
|00003b20| 6f 75 20 6d 69 67 68 74 | 20 63 6f 6e 73 69 64 65 |ou might| conside|
|00003b30| 72 20 62 75 69 6c 64 69 | 6e 67 20 6b 69 6e 64 20 |r buildi|ng kind |
|00003b40| 6f 66 20 61 20 64 61 74 | 61 62 61 73 65 20 6f 66 |of a dat|abase of|
|00003b50| 20 77 69 64 74 68 20 74 | 61 62 6c 65 73 20 62 65 | width t|ables be|
|00003b60| 66 6f 72 65 68 61 6e 64 | 2c 20 6f 72 20 61 6c 6f |forehand|, or alo|
|00003b70| 6e 67 20 74 68 65 20 77 | 61 79 2c 20 61 6e 64 20 |ng the w|ay, and |
|00003b80| 75 73 65 20 74 68 69 73 | 20 69 6e 66 6f 72 6d 61 |use this| informa|
|00003b90| 74 69 6f 6e 20 64 69 72 | 65 63 74 6c 79 20 66 72 |tion dir|ectly fr|
|00003ba0| 6f 6d 20 77 69 74 68 69 | 6e 20 79 6f 75 72 20 61 |om withi|n your a|
|00003bb0| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 54 68 65 72 |pplicati|on. Ther|
|00003bc0| 65 20 69 73 20 6e 6f 20 | 73 68 6f 72 74 63 75 74 |e is no |shortcut|
|00003bd0| 20 61 74 20 61 6c 6c 20 | 74 68 72 6f 75 67 68 20 | at all |through |
|00003be0| 74 68 65 20 52 65 73 6f | 75 72 63 65 20 4d 61 6e |the Reso|urce Man|
|00003bf0| 61 67 65 72 20 74 6f 20 | 67 65 74 20 61 74 20 74 |ager to |get at t|
|00003c00| 68 65 20 66 6f 6e 74 20 | 72 65 73 6f 75 72 63 65 |he font |resource|
|00003c10| 73 2c 20 61 6e 64 20 74 | 68 65 72 65 20 69 73 20 |s, and t|here is |
|00003c20| 6e 6f 20 73 68 6f 72 74 | 63 75 74 20 77 69 74 68 |no short|cut with|
|00003c30| 69 6e 20 46 4d 53 77 61 | 70 46 6f 6e 74 2c 20 6c |in FMSwa|pFont, l|
|00003c40| 69 6b 65 20 6e 6f 74 20 | 62 75 69 6c 64 69 6e 67 |ike not |building|
|00003c50| 20 74 68 65 20 66 6f 6e | 74 20 62 69 74 6d 61 70 | the fon|t bitmap|
|00003c60| 73 2e 20 28 54 6f 20 74 | 68 65 20 62 65 73 74 20 |s. (To t|he best |
|00003c70| 6f 66 20 6d 79 20 6b 6e | 6f 77 6c 65 64 67 65 2c |of my kn|owledge,|
|00003c80| 20 74 68 65 20 6e 65 65 | 64 62 69 74 73 20 66 69 | the nee|dbits fi|
|00003c90| 65 6c 64 20 69 6e 20 74 | 68 65 20 46 4d 49 6e 70 |eld in t|he FMInp|
|00003ca0| 75 74 20 72 65 63 6f 72 | 64 20 64 6f 65 73 20 2a |ut recor|d does *|
|00003cb0| 6e 6f 74 2a 20 68 61 76 | 65 20 74 68 69 73 20 65 |not* hav|e this e|
|00003cc0| 66 66 65 63 74 2e 29 20 | 54 68 65 20 6f 6e 6c 79 |ffect.) |The only|
|00003cd0| 20 6f 62 76 69 6f 75 73 | 20 77 61 79 20 74 6f 20 | obvious| way to |
|00003ce0| 67 65 74 20 77 69 64 74 | 68 20 74 61 62 6c 65 73 |get widt|h tables|
|00003cf0| 20 66 61 73 74 65 72 20 | 69 73 20 74 6f 20 6b 65 | faster |is to ke|
|00003d00| 65 70 20 74 68 65 6d 20 | 61 72 6f 75 6e 64 2c 20 |ep them |around, |
|00003d10| 61 6e 64 20 74 6f 20 65 | 78 74 65 6e 64 20 6d 61 |and to e|xtend ma|
|00003d20| 6e 75 61 6c 6c 79 20 74 | 68 65 20 63 61 70 61 63 |nually t|he capac|
|00003d30| 69 74 79 20 6f 66 20 74 | 68 65 20 46 6f 6e 74 20 |ity of t|he Font |
|00003d40| 4d 61 6e 61 67 65 72 d5 | 73 20 63 61 63 68 65 20 |Manager.|s cache |
|00003d50| 6f 66 20 77 69 64 74 68 | 20 74 61 62 6c 65 73 2e |of width| tables.|
|00003d60| 0d 53 65 74 46 72 61 63 | 74 45 6e 61 62 6c 65 20 |.SetFrac|tEnable |
|00003d70| 61 6e 64 20 72 65 63 61 | 6c 63 75 6c 61 74 69 6e |and reca|lculatin|
|00003d80| 67 20 77 69 64 74 68 20 | 74 61 62 6c 65 73 0d 57 |g width |tables.W|
|00003d90| 72 69 74 74 65 6e 3a 09 | 35 2f 35 2f 39 32 0d 4c |ritten:.|5/5/92.L|
|00003da0| 61 73 74 20 72 65 76 69 | 65 77 65 64 3a 09 38 2f |ast revi|ewed:.8/|
|00003db0| 31 2f 39 32 0d 43 61 6c | 6c 69 6e 67 20 53 65 74 |1/92.Cal|ling Set|
|00003dc0| 46 72 61 63 74 45 6e 61 | 62 6c 65 20 73 65 65 6d |FractEna|ble seem|
|00003dd0| 73 20 74 6f 20 66 6f 72 | 63 65 20 74 68 65 20 77 |s to for|ce the w|
|00003de0| 69 64 74 68 20 74 61 62 | 6c 65 73 20 74 6f 20 62 |idth tab|les to b|
|00003df0| 65 20 72 65 63 61 6c 63 | 75 6c 61 74 65 64 20 72 |e recalc|ulated r|
|00003e00| 65 67 61 72 64 6c 65 73 | 73 20 6f 66 20 74 68 65 |egardles|s of the|
|00003e10| 20 73 65 74 74 69 6e 67 | 20 6f 66 20 74 68 65 20 | setting| of the |
|00003e20| 6c 6f 77 2d 6d 65 6d 6f | 72 79 20 67 6c 6f 62 61 |low-memo|ry globa|
|00003e30| 6c 20 46 72 61 63 74 45 | 6e 61 62 6c 65 2e 20 57 |l FractE|nable. W|
|00003e40| 65 d5 72 65 20 63 61 6c | 6c 69 6e 67 20 74 68 69 |e.re cal|ling thi|
|00003e50| 73 20 72 6f 75 74 69 6e | 65 20 61 74 20 61 20 63 |s routin|e at a c|
|00003e60| 65 6e 74 72 61 6c 20 65 | 6e 74 72 79 20 70 6f 69 |entral e|ntry poi|
|00003e70| 6e 74 20 66 6f 72 20 61 | 6e 79 20 64 6f 63 75 6d |nt for a|ny docum|
|00003e80| 65 6e 74 2c 20 61 73 20 | 69 74 d5 73 20 61 20 64 |ent, as |it.s a d|
|00003e90| 6f 63 75 6d 65 6e 74 20 | 62 79 20 64 6f 63 75 6d |ocument |by docum|
|00003ea0| 65 6e 74 20 61 74 74 72 | 69 62 75 74 65 2e 20 57 |ent attr|ibute. W|
|00003eb0| 65 20 74 68 65 6e 20 75 | 6e 63 6f 6e 64 69 74 69 |e then u|nconditi|
|00003ec0| 6f 6e 61 6c 6c 79 20 63 | 61 6c 6c 20 53 65 74 46 |onally c|all SetF|
|00003ed0| 72 61 63 74 45 6e 61 62 | 6c 65 28 66 61 6c 73 65 |ractEnab|le(false|
|00003ee0| 29 20 6f 6e 20 65 78 69 | 74 20 62 61 63 6b 20 74 |) on exi|t back t|
|00003ef0| 6f 20 74 68 65 20 65 76 | 65 6e 74 20 6c 6f 6f 70 |o the ev|ent loop|
|00003f00| 2c 20 74 6f 20 62 65 20 | 6e 69 63 65 20 74 6f 20 |, to be |nice to |
|00003f10| 6f 74 68 65 72 20 61 70 | 70 6c 69 63 61 74 69 6f |other ap|plicatio|
|00003f20| 6e 73 2e 20 43 61 6c 6c | 69 6e 67 20 53 65 74 46 |ns. Call|ing SetF|
|00003f30| 72 61 63 74 45 6e 61 62 | 6c 65 28 66 61 6c 73 65 |ractEnab|le(false|
|00003f40| 29 2c 20 73 65 65 6d 73 | 20 74 6f 20 74 72 69 67 |), seems| to trig|
|00003f50| 67 65 72 20 74 68 65 20 | 72 65 63 61 6c 63 75 6c |ger the |recalcul|
|00003f60| 61 74 69 6f 6e 20 65 76 | 65 6e 20 74 68 6f 75 67 |ation ev|en thoug|
|00003f70| 68 20 46 72 61 63 74 45 | 6e 61 62 6c 65 20 69 73 |h FractE|nable is|
|00003f80| 20 66 61 6c 73 65 2e 20 | 57 68 61 74 d5 73 20 74 | false. |What.s t|
|00003f90| 68 65 20 62 65 73 74 20 | 77 61 79 20 74 6f 20 67 |he best |way to g|
|00003fa0| 65 74 20 61 72 6f 75 6e | 64 20 74 68 69 73 3f 0d |et aroun|d this?.|
|00003fb0| 5f 5f 5f 0d 59 6f 75 72 | 20 6f 62 73 65 72 76 61 |___.Your| observa|
|00003fc0| 74 69 6f 6e 20 69 73 20 | 63 6f 72 72 65 63 74 2e |tion is |correct.|
|00003fd0| 20 54 68 65 20 53 65 74 | 46 72 61 63 74 45 6e 61 | The Set|FractEna|
|00003fe0| 62 6c 65 20 63 61 6c 6c | 20 73 74 75 66 66 73 20 |ble call| stuffs |
|00003ff0| 74 68 65 20 62 6f 6f 6c | 65 61 6e 20 70 61 72 61 |the bool|ean para|
|00004000| 6d 65 74 65 72 20 28 61 | 73 20 61 20 73 69 6e 67 |meter (a|s a sing|
|00004010| 6c 65 20 62 79 74 65 29 | 20 69 6e 74 6f 20 74 68 |le byte)| into th|
|00004020| 65 20 6c 6f 77 2d 6d 65 | 6d 6f 72 79 20 67 6c 6f |e low-me|mory glo|
|00004030| 62 61 6c 20 24 42 46 34 | 20 61 6e 64 20 69 6e 64 |bal $BF4| and ind|
|00004040| 69 73 63 72 69 6d 69 6e | 61 74 65 6c 79 20 69 6e |iscrimin|ately in|
|00004050| 76 61 6c 69 64 61 74 65 | 73 20 74 68 65 20 63 61 |validate|s the ca|
|00004060| 63 68 65 64 20 77 69 64 | 74 68 20 74 61 62 6c 65 |ched wid|th table|
|00004070| 20 62 79 20 73 65 74 74 | 69 6e 67 20 24 42 34 43 | by sett|ing $B4C|
|00004080| 20 28 4c 61 73 74 53 70 | 45 78 74 72 61 29 20 74 | (LastSp|Extra) t|
|00004090| 6f 20 2d 31 20 28 4c 6f | 6e 67 57 6f 72 64 20 3d |o -1 (Lo|ngWord =|
|000040a0| 20 46 69 78 65 64 29 2e | 20 4f 62 76 69 6f 75 73 | Fixed).| Obvious|
|000040b0| 6c 79 2c 20 69 74 20 77 | 61 73 20 6e 6f 74 20 61 |ly, it w|as not a|
|000040c0| 6e 74 69 63 69 70 61 74 | 65 64 20 74 68 61 74 20 |nticipat|ed that |
|000040d0| 53 65 74 46 72 61 63 74 | 45 6e 61 62 6c 65 20 63 |SetFract|Enable c|
|000040e0| 6f 75 6c 64 20 62 65 20 | 63 61 6c 6c 65 64 20 71 |ould be |called q|
|000040f0| 75 69 74 65 20 72 65 67 | 75 6c 61 72 6c 79 20 77 |uite reg|ularly w|
|00004100| 69 74 68 20 61 20 70 61 | 72 61 6d 65 74 65 72 20 |ith a pa|rameter |
|00004110| 74 68 61 74 20 6f 66 74 | 65 6e 20 64 6f 65 73 20 |that oft|en does |
|00004120| 6e 6f 74 20 63 68 61 6e | 67 65 20 74 68 65 20 70 |not chan|ge the p|
|00004130| 72 65 76 69 6f 75 73 20 | 73 65 74 74 69 6e 67 2e |revious |setting.|
|00004140| 20 28 42 79 20 74 68 65 | 20 77 61 79 2c 20 74 68 | (By the| way, th|
|00004150| 65 20 73 61 6d 65 20 6f | 62 73 65 72 76 61 74 69 |e same o|bservati|
|00004160| 6f 6e 20 61 70 70 6c 69 | 65 73 20 74 6f 20 74 68 |on appli|es to th|
|00004170| 65 20 53 65 74 46 53 63 | 61 6c 65 44 69 73 61 62 |e SetFSc|aleDisab|
|00004180| 6c 65 20 63 61 6c 6c 29 | 2e 0d 49 6e 20 79 6f 75 |le call)|..In you|
|00004190| 72 20 63 61 73 65 2c 20 | 79 6f 75 20 6d 61 79 20 |r case, |you may |
|000041a0| 77 61 6e 74 20 74 6f 20 | 72 65 70 6c 61 63 65 20 |want to |replace |
|000041b0| 74 68 65 20 53 65 74 46 | 72 61 63 74 45 6e 61 62 |the SetF|ractEnab|
|000041c0| 6c 65 20 63 61 6c 6c 20 | 62 79 20 79 6f 75 72 20 |le call |by your |
|000041d0| 6f 77 6e 20 74 65 73 74 | 20 6f 66 20 74 68 65 20 |own test| of the |
|000041e0| 62 6f 6f 6c 65 61 6e 20 | 28 38 2d 62 69 74 29 20 |boolean |(8-bit) |
|000041f0| 69 6e 20 24 42 46 34 20 | 28 46 72 61 63 74 45 6e |in $BF4 |(FractEn|
|00004200| 61 62 6c 65 29 2c 20 61 | 6e 64 20 63 61 6c 6c 20 |able), a|nd call |
|00004210| 53 65 74 46 72 61 63 74 | 45 6e 61 62 6c 65 20 6f |SetFract|Enable o|
|00004220| 6e 6c 79 20 69 66 20 74 | 68 65 20 70 61 72 61 6d |nly if t|he param|
|00004230| 65 74 65 72 20 70 61 73 | 73 65 64 20 69 73 20 64 |eter pas|sed is d|
|00004240| 69 66 66 65 72 65 6e 74 | 20 66 72 6f 6d 20 74 68 |ifferent| from th|
|00004250| 65 20 76 61 6c 75 65 20 | 73 74 6f 72 65 64 20 69 |e value |stored i|
|00004260| 6e 20 24 42 46 34 2e 20 | 4e 6f 74 65 20 74 68 61 |n $BF4. |Note tha|
|00004270| 74 20 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |t Inside| Macinto|
|00004280| 73 68 20 56 6f 6c 75 6d | 65 20 49 56 20 28 70 61 |sh Volum|e IV (pa|
|00004290| 67 65 20 33 32 29 20 65 | 78 70 6c 69 63 69 74 6c |ge 32) e|xplicitl|
|000042a0| 79 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |y allows| you to |
|000042b0| 68 61 63 6b 20 74 68 65 | 20 24 42 46 34 20 6c 6f |hack the| $BF4 lo|
|000042c0| 63 61 74 69 6f 6e 20 64 | 69 72 65 63 74 6c 79 2c |cation d|irectly,|
|000042d0| 20 73 6f 20 69 74 d5 73 | 20 75 6e 6c 69 6b 65 6c | so it.s| unlikel|
|000042e0| 79 20 74 68 65 72 65 20 | 61 72 65 20 61 6e 79 20 |y there |are any |
|000042f0| 66 75 74 75 72 65 20 63 | 6f 6d 70 61 74 69 62 69 |future c|ompatibi|
|00004300| 6c 69 74 79 20 70 72 6f | 62 6c 65 6d 73 20 69 66 |lity pro|blems if|
|00004310| 20 79 6f 75 20 67 6f 20 | 79 6f 75 72 20 6f 77 6e | you go |your own|
|00004320| 20 77 61 79 20 61 72 6f | 75 6e 64 20 74 68 65 20 | way aro|und the |
|00004330| 6f 72 69 67 69 6e 61 6c | 20 53 65 74 46 72 61 63 |original| SetFrac|
|00004340| 74 45 6e 61 62 6c 65 2e | 20 54 68 65 20 6f 6e 6c |tEnable.| The onl|
|00004350| 79 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 69 6e 66 |y additi|onal inf|
|00004360| 6f 72 6d 61 74 69 6f 6e | 20 79 6f 75 20 6e 65 65 |ormation| you nee|
|00004370| 64 20 69 73 20 77 68 61 | 74 d5 73 20 6d 65 6e 74 |d is wha|t.s ment|
|00004380| 69 6f 6e 65 64 20 61 62 | 6f 76 65 3a 20 54 68 65 |ioned ab|ove: The|
|00004390| 20 46 6f 6e 74 20 4d 61 | 6e 61 67 65 72 20 61 6c | Font Ma|nager al|
|000043a0| 77 61 79 73 20 63 68 65 | 63 6b 73 20 24 42 34 43 |ways che|cks $B4C|
|000043b0| 20 28 4c 61 73 74 53 70 | 45 78 74 72 61 29 20 66 | (LastSp|Extra) f|
|000043c0| 6f 72 20 2d 31 20 62 65 | 66 6f 72 65 20 64 6f 69 |or -1 be|fore doi|
|000043d0| 6e 67 20 61 6e 79 74 68 | 69 6e 67 20 77 69 74 68 |ng anyth|ing with|
|000043e0| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 77 69 64 74 | the glo|bal widt|
|000043f0| 68 20 74 61 62 6c 65 3b | 20 69 66 20 69 74 20 66 |h table;| if it f|
|00004400| 69 6e 64 73 20 28 24 42 | 34 43 29 20 3d 20 4c 6f |inds ($B|4C) = Lo|
|00004410| 6e 67 49 6e 74 28 2d 31 | 29 2c 20 69 74 20 70 61 |ngInt(-1|), it pa|
|00004420| 69 6e 66 75 6c 6c 79 20 | 72 65 62 75 69 6c 64 73 |infully |rebuilds|
|00004430| 20 74 68 65 20 77 69 64 | 74 68 20 74 61 62 6c 65 | the wid|th table|
|00004440| 2e 0d 41 6e 6f 74 68 65 | 72 20 63 6f 6d 6d 65 6e |..Anothe|r commen|
|00004450| 74 3a 20 59 6f 75 20 64 | 6f 20 6e 6f 74 20 6e 65 |t: You d|o not ne|
|00004460| 65 64 20 74 6f 20 74 68 | 69 6e 6b 20 6f 66 20 6f |ed to th|ink of o|
|00004470| 74 68 65 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ther app|lication|
|00004480| 73 20 77 68 65 6e 20 72 | 65 73 65 74 74 69 6e 67 |s when r|esetting|
|00004490| 20 46 72 61 63 74 45 6e | 61 62 6c 65 3b 20 69 6e | FractEn|able; in|
|000044a0| 20 61 20 63 6f 6e 74 65 | 78 74 20 73 77 69 74 63 | a conte|xt switc|
|000044b0| 68 20 74 6f 20 61 6e 6f | 74 68 65 72 20 61 70 70 |h to ano|ther app|
|000044c0| 6c 69 63 61 74 69 6f 6e | 2c 20 61 6c 6c 20 6c 6f |lication|, all lo|
|000044d0| 77 2d 6d 65 6d 6f 72 79 | 20 67 6c 6f 62 61 6c 73 |w-memory| globals|
|000044e0| 20 61 72 65 20 73 77 61 | 70 70 65 64 20 61 6e 79 | are swa|pped any|
|000044f0| 77 61 79 2e 20 53 74 69 | 6c 6c 2c 20 74 68 65 20 |way. Sti|ll, the |
|00004500| 61 62 6f 76 65 20 6f 70 | 74 69 6d 69 7a 61 74 69 |above op|timizati|
|00004510| 6f 6e 20 6f 66 20 53 65 | 74 46 72 61 63 74 45 6e |on of Se|tFractEn|
|00004520| 61 62 6c 65 20 70 72 6f | 62 61 62 6c 79 20 69 73 |able pro|bably is|
|00004530| 20 75 73 65 66 75 6c 20 | 65 76 65 6e 20 77 68 65 | useful |even whe|
|00004540| 6e 20 79 6f 75 20 64 6f | 6e d5 74 20 63 61 6c 6c |n you do|n.t call|
|00004550| 20 69 74 20 61 6e 79 20 | 6d 6f 72 65 20 73 79 73 | it any |more sys|
|00004560| 74 65 6d 61 74 69 63 61 | 6c 6c 79 20 6f 6e 20 65 |tematica|lly on e|
|00004570| 78 69 74 20 74 6f 20 74 | 68 65 20 65 76 65 6e 74 |xit to t|he event|
|00004580| 20 6c 6f 6f 70 2e 0d 43 | 6f 72 72 75 70 74 65 64 | loop..C|orrupted|
|00004590| 20 4d 61 63 69 6e 74 6f | 73 68 20 66 6f 6e 74 20 | Macinto|sh font |
|000045a0| 6f 72 20 66 6f 6e 74 20 | 73 75 69 74 63 61 73 65 |or font |suitcase|
|000045b0| 20 63 72 69 74 65 72 69 | 61 0d 57 72 69 74 74 65 | criteri|a.Writte|
|000045c0| 6e 3a 09 36 2f 31 39 2f | 39 32 0d 4c 61 73 74 20 |n:.6/19/|92.Last |
|000045d0| 72 65 76 69 65 77 65 64 | 3a 09 39 2f 31 35 2f 39 |reviewed|:.9/15/9|
|000045e0| 32 0d 49 20 77 6f 75 6c | 64 20 6c 69 6b 65 20 74 |2.I woul|d like t|
|000045f0| 6f 20 62 65 20 61 62 6c | 65 20 74 6f 20 64 65 74 |o be abl|e to det|
|00004600| 65 63 74 20 77 68 65 74 | 68 65 72 20 61 20 66 6f |ect whet|her a fo|
|00004610| 6e 74 20 73 75 69 74 63 | 61 73 65 20 69 73 20 63 |nt suitc|ase is c|
|00004620| 6f 72 72 75 70 74 65 64 | 20 77 68 65 6e 20 69 74 |orrupted| when it|
|00004630| 20 69 73 20 6f 70 65 6e | 65 64 20 61 6e 64 20 77 | is open|ed and w|
|00004640| 68 65 74 68 65 72 20 61 | 6e 79 20 6f 66 20 74 68 |hether a|ny of th|
|00004650| 65 20 66 6f 6e 74 73 20 | 69 6e 20 69 74 20 61 72 |e fonts |in it ar|
|00004660| 65 20 63 6f 72 72 75 70 | 74 65 64 20 62 65 66 6f |e corrup|ted befo|
|00004670| 72 65 20 61 6e 79 20 6f | 66 20 74 68 65 20 66 6f |re any o|f the fo|
|00004680| 6e 74 73 20 61 72 65 20 | 75 73 65 64 2e 20 49 20 |nts are |used. I |
|00004690| 6b 6e 6f 77 20 74 68 61 | 74 20 74 68 65 20 46 69 |know tha|t the Fi|
|000046a0| 6e 64 65 72 20 69 73 20 | 61 62 6c 65 20 74 6f 20 |nder is |able to |
|000046b0| 64 6f 20 74 68 69 73 2c | 20 61 6e 64 20 49 20 77 |do this,| and I w|
|000046c0| 61 73 20 77 6f 6e 64 65 | 72 69 6e 67 20 69 66 20 |as wonde|ring if |
|000046d0| 41 70 70 6c 65 20 67 69 | 76 65 73 20 6f 75 74 20 |Apple gi|ves out |
|000046e0| 74 68 69 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |this inf|ormation|
|000046f0| 2e 20 4d 79 20 70 72 6f | 67 72 61 6d 20 77 69 6c |. My pro|gram wil|
|00004700| 6c 20 6f 6e 6c 79 20 72 | 75 6e 20 75 6e 64 65 72 |l only r|un under|
|00004710| 20 53 79 73 74 65 6d 20 | 37 2e 30 20 69 66 20 74 | System |7.0 if t|
|00004720| 68 61 74 20 68 65 6c 70 | 73 2e 20 41 6e 79 20 69 |hat help|s. Any i|
|00004730| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 74 68 61 74 20 |nformati|on that |
|00004740| 79 6f 75 20 63 61 6e 20 | 67 69 76 65 20 6d 65 20 |you can |give me |
|00004750| 77 6f 75 6c 64 20 62 65 | 20 67 72 65 61 74 6c 79 |would be| greatly|
|00004760| 20 61 70 70 72 65 63 69 | 61 74 65 64 2e 0d 5f 5f | appreci|ated..__|
|00004770| 5f 0d 54 68 65 20 46 69 | 6e 64 65 72 20 61 6e 64 |_.The Fi|nder and|
|00004780| 20 74 68 65 20 74 79 70 | 65 20 61 72 63 68 69 74 | the typ|e archit|
|00004790| 65 63 74 75 72 65 20 61 | 72 65 20 6c 69 76 69 6e |ecture a|re livin|
|000047a0| 67 20 74 68 69 6e 67 73 | 3b 20 74 68 65 20 64 65 |g things|; the de|
|000047b0| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 77 68 61 74 |finition| of what|
|000047c0| 20 69 73 20 61 6e 64 20 | 69 73 20 6e 6f 74 20 61 | is and |is not a|
|000047d0| 20 64 61 6d 61 67 65 64 | 20 73 75 69 74 63 61 73 | damaged| suitcas|
|000047e0| 65 20 63 61 6e 20 63 68 | 61 6e 67 65 20 66 72 6f |e can ch|ange fro|
|000047f0| 6d 20 72 65 6c 65 61 73 | 65 20 74 6f 20 72 65 6c |m releas|e to rel|
|00004800| 65 61 73 65 20 6f 66 20 | 73 79 73 74 65 6d 20 73 |ease of |system s|
|00004810| 6f 66 74 77 61 72 65 2e | 20 48 6f 77 65 76 65 72 |oftware.| However|
|00004820| 2c 20 61 6e 79 20 6f 66 | 20 74 68 65 20 66 6f 6c |, any of| the fol|
|00004830| 6c 6f 77 69 6e 67 20 63 | 6f 6e 64 69 74 69 6f 6e |lowing c|ondition|
|00004840| 73 20 6d 61 6b 65 73 20 | 53 79 73 74 65 6d 20 37 |s makes |System 7|
|00004850| 2e 30 20 72 65 70 6f 72 | 74 20 74 68 65 20 73 75 |.0 repor|t the su|
|00004860| 69 74 63 61 73 65 20 61 | 73 20 d2 64 61 6d 61 67 |itcase a|s .damag|
|00004870| 65 64 d3 3a 0d a5 20 4d | 6f 72 65 20 74 68 61 6e |ed.:.. M|ore than|
|00004880| 20 65 69 67 68 74 20 46 | 4f 4e 44 73 20 72 65 66 | eight F|ONDs ref|
|00004890| 65 72 65 6e 63 65 20 74 | 68 65 20 73 61 6d 65 20 |erence t|he same |
|000048a0| 66 6f 6e 74 2e 0d a5 20 | 41 20 6e 65 77 20 73 74 |font... |A new st|
|000048b0| 61 6e 64 2d 61 6c 6f 6e | 65 20 6f 62 6a 65 63 74 |and-alon|e object|
|000048c0| 20 63 61 6e d5 74 20 62 | 65 20 63 72 65 61 74 65 | can.t b|e create|
|000048d0| 64 20 66 6f 72 20 61 20 | 66 6f 6e 74 20 69 63 6f |d for a |font ico|
|000048e0| 6e 2e 20 54 68 65 20 75 | 73 75 61 6c 20 63 61 75 |n. The u|sual cau|
|000048f0| 73 65 20 6f 66 20 74 68 | 69 73 20 69 73 20 74 68 |se of th|is is th|
|00004900| 61 74 20 74 77 6f 20 46 | 4f 4e 44 73 20 68 61 76 |at two F|ONDs hav|
|00004910| 65 20 74 68 65 20 73 61 | 6d 65 20 6e 61 6d 65 20 |e the sa|me name |
|00004920| 66 6f 72 20 74 68 65 20 | 66 69 72 73 74 20 33 31 |for the |first 31|
|00004930| 20 63 68 61 72 61 63 74 | 65 72 73 2c 20 61 6e 64 | charact|ers, and|
|00004940| 20 74 68 65 20 46 69 6e | 64 65 72 20 74 68 69 6e | the Fin|der thin|
|00004950| 6b 73 20 74 68 65 72 65 | d5 73 20 61 6c 72 65 61 |ks there|.s alrea|
|00004960| 64 79 20 61 6e 20 69 63 | 6f 6e 20 69 6e 20 74 68 |dy an ic|on in th|
|00004970| 61 74 20 77 69 6e 64 6f | 77 20 77 69 74 68 20 74 |at windo|w with t|
|00004980| 68 65 20 73 61 6d 65 20 | 6e 61 6d 65 2e 20 28 54 |he same |name. (T|
|00004990| 77 6f 20 69 63 6f 6e 73 | 20 69 6e 20 74 68 65 20 |wo icons| in the |
|000049a0| 73 61 6d 65 20 64 69 72 | 65 63 74 6f 72 79 20 77 |same dir|ectory w|
|000049b0| 69 74 68 20 74 68 65 20 | 73 61 6d 65 20 6e 61 6d |ith the |same nam|
|000049c0| 65 20 69 73 20 61 20 73 | 69 67 6e 20 6f 66 20 64 |e is a s|ign of d|
|000049d0| 61 6d 61 67 65 2e 29 0d | a5 20 54 68 65 72 65 20 |amage.).|. There |
|000049e0| 6d 75 73 74 20 62 65 20 | 61 74 20 6c 65 61 73 74 |must be |at least|
|000049f0| 20 6f 6e 65 20 66 6f 6e | 74 20 61 73 73 6f 63 69 | one fon|t associ|
|00004a00| 61 74 69 6f 6e 20 74 61 | 62 6c 65 20 65 6e 74 72 |ation ta|ble entr|
|00004a10| 79 2c 20 61 6e 64 20 74 | 68 65 20 74 61 62 6c 65 |y, and t|he table|
|00004a20| 20 63 61 6e d5 74 20 67 | 6f 20 70 61 73 74 20 74 | can.t g|o past t|
|00004a30| 68 65 20 6c 6f 67 69 63 | 61 6c 20 65 6e 64 20 6f |he logic|al end o|
|00004a40| 66 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 2e 0d |f the re|source..|
|00004a50| a5 20 54 68 65 20 66 69 | 72 73 74 20 72 65 73 6f |. The fi|rst reso|
|00004a60| 75 72 63 65 20 6e 61 6d | 65 20 69 6e 20 74 68 65 |urce nam|e in the|
|00004a70| 20 6d 61 70 20 6d 75 73 | 74 20 6e 6f 74 20 62 65 | map mus|t not be|
|00004a80| 20 7a 65 72 6f 2d 6c 65 | 6e 67 74 68 20 28 77 68 | zero-le|ngth (wh|
|00004a90| 69 63 68 20 69 73 20 61 | 20 74 65 73 74 20 66 6f |ich is a| test fo|
|00004aa0| 72 20 73 6f 6d 65 20 6f | 6c 64 65 72 20 74 68 69 |r some o|lder thi|
|00004ab0| 72 64 2d 70 61 72 74 79 | 20 63 6f 72 72 75 70 74 |rd-party| corrupt|
|00004ac0| 65 64 20 73 75 69 74 63 | 61 73 65 73 29 2e 0d a5 |ed suitc|ases)...|
|00004ad0| 20 54 68 65 20 46 4f 4e | 44 20 6d 75 73 74 20 68 | The FON|D must h|
|00004ae0| 61 76 65 20 61 20 6e 61 | 6d 65 2e 0d a5 20 54 68 |ave a na|me... Th|
|00004af0| 65 20 46 4f 4e 44 20 6d | 75 73 74 20 68 61 76 65 |e FOND m|ust have|
|00004b00| 20 61 20 76 61 6c 69 64 | 20 63 68 61 72 61 63 74 | a valid| charact|
|00004b10| 65 72 20 72 61 6e 67 65 | d1 74 68 65 20 66 69 72 |er range|.the fir|
|00004b20| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 68 61 73 |st chara|cter has|
|00004b30| 20 74 6f 20 62 65 20 6c | 65 73 73 20 74 68 61 6e | to be l|ess than|
|00004b40| 20 74 68 65 20 6c 61 73 | 74 20 63 68 61 72 61 63 | the las|t charac|
|00004b50| 74 65 72 d1 75 6e 6c 65 | 73 73 20 69 74 20 69 73 |ter.unle|ss it is|
|00004b60| 20 61 20 22 64 75 6d 6d | 79 22 20 46 4f 4e 44 20 | a "dumm|y" FOND |
|00004b70| 28 63 72 65 61 74 65 64 | 20 6f 6e 20 74 68 65 20 |(created| on the |
|00004b80| 66 6c 79 20 66 6f 72 20 | 6f 6c 64 20 73 74 61 6e |fly for |old stan|
|00004b90| 64 61 6c 6f 6e 65 20 46 | 4f 4e 54 73 3b 20 69 6e |dalone F|ONTs; in|
|00004ba0| 20 74 68 69 73 20 63 61 | 73 65 2c 20 6c 61 73 74 | this ca|se, last|
|00004bb0| 20 63 68 61 72 61 63 74 | 65 72 20 3d 20 30 29 2e | charact|er = 0).|
|00004bc0| 0d a5 20 41 6c 6c 20 74 | 68 65 20 66 6f 6e 74 20 |.. All t|he font |
|00004bd0| 61 73 73 6f 63 69 61 74 | 69 6f 6e 20 74 61 62 6c |associat|ion tabl|
|00004be0| 65 20 65 6e 74 72 69 65 | 73 20 6d 75 73 74 20 62 |e entrie|s must b|
|00004bf0| 65 20 69 6e 20 61 73 63 | 65 6e 64 69 6e 67 20 70 |e in asc|ending p|
|00004c00| 6f 69 6e 74 20 73 69 7a | 65 20 6f 72 64 65 72 2e |oint siz|e order.|
|00004c10| 0d a5 20 4e 6f 20 74 77 | 6f 20 66 6f 6e 74 20 61 |.. No tw|o font a|
|00004c20| 73 73 6f 63 69 61 74 69 | 6f 6e 20 74 61 62 6c 65 |ssociati|on table|
|00004c30| 20 65 6e 74 72 69 65 73 | 20 6d 61 79 20 72 65 66 | entries| may ref|
|00004c40| 65 72 65 6e 63 65 20 65 | 78 61 63 74 6c 79 20 74 |erence e|xactly t|
|00004c50| 68 65 20 73 61 6d 65 20 | 70 6f 69 6e 74 20 73 69 |he same |point si|
|00004c60| 7a 65 20 61 6e 64 20 73 | 74 79 6c 65 2e 0d a5 20 |ze and s|tyle... |
|00004c70| 54 68 65 20 6f 66 66 73 | 65 74 73 20 74 6f 20 74 |The offs|ets to t|
|00004c80| 68 65 20 77 69 64 74 68 | 20 74 61 62 6c 65 2c 20 |he width| table, |
|00004c90| 6b 65 72 6e 69 6e 67 20 | 74 61 62 6c 65 20 61 6e |kerning |table an|
|00004ca0| 64 20 73 74 79 6c 65 20 | 6d 61 70 70 69 6e 67 20 |d style |mapping |
|00004cb0| 74 61 62 6c 65 20 6d 75 | 73 74 20 62 65 20 76 61 |table mu|st be va|
|00004cc0| 6c 69 64 20 6f 72 20 7a | 65 72 6f 2e 0d a5 20 54 |lid or z|ero... T|
|00004cd0| 68 65 20 66 6f 6e 74 20 | 49 44 20 6d 75 73 74 20 |he font |ID must |
|00004ce0| 6e 6f 74 20 62 65 20 7a | 65 72 6f 20 75 6e 6c 65 |not be z|ero unle|
|00004cf0| 73 73 20 69 74 d5 73 20 | 61 63 74 75 61 6c 6c 79 |ss it.s |actually|
|00004d00| 20 74 68 65 20 73 79 73 | 74 65 6d 20 66 6f 6e 74 | the sys|tem font|
|00004d10| 2e 0d 57 65 20 63 61 6e | d5 74 20 70 72 6f 6d 69 |..We can|.t promi|
|00004d20| 73 65 20 74 68 69 73 20 | 69 73 20 65 76 65 72 79 |se this |is every|
|00004d30| 20 72 65 61 73 6f 6e 20 | 74 68 65 20 46 69 6e 64 | reason |the Find|
|00004d40| 65 72 20 77 6f 75 6c 64 | 20 72 65 70 6f 72 74 20 |er would| report |
|00004d50| 61 20 73 75 69 74 63 61 | 73 65 20 61 73 20 64 61 |a suitca|se as da|
|00004d60| 6d 61 67 65 64 20 28 65 | 73 70 65 63 69 61 6c 6c |maged (e|speciall|
|00004d70| 79 20 67 69 76 65 6e 20 | 74 68 65 20 73 65 63 6f |y given |the seco|
|00004d80| 6e 64 20 73 74 65 70 29 | 2c 20 62 75 74 20 74 68 |nd step)|, but th|
|00004d90| 69 73 20 69 73 20 6d 6f | 73 74 20 6f 66 20 74 68 |is is mo|st of th|
|00004da0| 65 6d 2e 0d 49 6e 74 65 | 72 6e 61 74 69 6f 6e 61 |em..Inte|rnationa|
|00004db0| 6c 20 52 65 73 6f 75 72 | 63 65 20 51 26 41 73 0d |l Resour|ce Q&As.|
|00004dc0| 54 65 78 74 09 09 4d 2e | 54 58 2e 49 6e 74 6c 52 |Text..M.|TX.IntlR|
|00004dd0| 73 72 63 2e 51 26 41 73 | 0d 52 65 76 69 73 65 64 |src.Q&As|.Revised|
|00004de0| 20 62 79 3a 09 44 65 76 | 65 6c 6f 70 65 72 20 53 | by:.Dev|eloper S|
|00004df0| 75 70 70 6f 72 74 20 43 | 65 6e 74 65 72 09 4f 63 |upport C|enter.Oc|
|00004e00| 74 6f 62 65 72 20 31 39 | 39 32 0d 57 72 69 74 74 |tober 19|92.Writt|
|00004e10| 65 6e 20 62 79 3a 09 44 | 65 76 65 6c 6f 70 65 72 |en by:.D|eveloper|
|00004e20| 20 53 75 70 70 6f 72 74 | 20 43 65 6e 74 65 72 09 | Support| Center.|
|00004e30| 4f 63 74 6f 62 65 72 20 | 31 39 39 30 0d 54 68 69 |October |1990.Thi|
|00004e40| 73 20 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |s Techni|cal Note|
|00004e50| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 63 6f 6c 6c | contain|s a coll|
|00004e60| 65 63 74 69 6f 6e 20 6f | 66 20 51 26 41 73 20 72 |ection o|f Q&As r|
|00004e70| 65 6c 61 74 69 6e 67 20 | 74 6f 20 61 20 73 70 65 |elating |to a spe|
|00004e80| 63 69 66 69 63 20 74 6f | 70 69 63 d1 71 75 65 73 |cific to|pic.ques|
|00004e90| 74 69 6f 6e 73 20 79 6f | 75 d5 76 65 20 73 65 6e |tions yo|u.ve sen|
|00004ea0| 74 20 74 68 65 20 44 65 | 76 65 6c 6f 70 65 72 20 |t the De|veloper |
|00004eb0| 53 75 70 70 6f 72 74 20 | 43 65 6e 74 65 72 20 28 |Support |Center (|
|00004ec0| 44 53 43 29 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |DSC) alo|ng with |
|00004ed0| 61 6e 73 77 65 72 73 20 | 66 72 6f 6d 20 74 68 65 |answers |from the|
|00004ee0| 20 44 53 43 20 65 6e 67 | 69 6e 65 65 72 73 2e 20 | DSC eng|ineers. |
|00004ef0| 57 68 69 6c 65 20 44 53 | 43 20 65 6e 67 69 6e 65 |While DS|C engine|
|00004f00| 65 72 73 20 68 61 76 65 | 20 63 68 65 63 6b 65 64 |ers have| checked|
|00004f10| 20 74 68 65 20 51 26 41 | 20 63 6f 6e 74 65 6e 74 | the Q&A| content|
|00004f20| 20 66 6f 72 20 61 63 63 | 75 72 61 63 79 2c 20 74 | for acc|uracy, t|
|00004f30| 68 65 20 51 26 41 20 54 | 65 63 68 6e 69 63 61 6c |he Q&A T|echnical|
|00004f40| 20 4e 6f 74 65 73 20 64 | 6f 6e d5 74 20 68 61 76 | Notes d|on.t hav|
|00004f50| 65 20 74 68 65 20 65 64 | 69 74 69 6e 67 20 61 6e |e the ed|iting an|
|00004f60| 64 20 6f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 20 6f |d organi|zation o|
|00004f70| 66 20 6f 74 68 65 72 20 | 54 65 63 68 6e 69 63 61 |f other |Technica|
|00004f80| 6c 20 4e 6f 74 65 73 2e | 20 54 68 65 20 51 26 41 |l Notes.| The Q&A|
|00004f90| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 74 6f 20 | functio|n is to |
|00004fa0| 67 65 74 20 6e 65 77 20 | 74 65 63 68 6e 69 63 61 |get new |technica|
|00004fb0| 6c 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 6e |l inform|ation an|
|00004fc0| 64 20 75 70 64 61 74 65 | 73 20 74 6f 20 79 6f 75 |d update|s to you|
|00004fd0| 20 71 75 69 63 6b 6c 79 | 2c 20 73 61 76 69 6e 67 | quickly|, saving|
|00004fe0| 20 74 68 65 20 70 6f 6c | 69 73 68 20 66 6f 72 20 | the pol|ish for |
|00004ff0| 77 68 65 6e 20 74 68 65 | 20 69 6e 66 6f 72 6d 61 |when the| informa|
|00005000| 74 69 6f 6e 20 6d 69 67 | 72 61 74 65 73 20 69 6e |tion mig|rates in|
|00005010| 74 6f 20 72 65 66 65 72 | 65 6e 63 65 20 6d 61 6e |to refer|ence man|
|00005020| 75 61 6c 73 2e 0d 51 26 | 41 73 20 61 72 65 20 6e |uals..Q&|As are n|
|00005030| 6f 77 20 69 6e 63 6c 75 | 64 65 64 20 77 69 74 68 |ow inclu|ded with|
|00005040| 20 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 73 | Technic|al Notes|
|00005050| 20 74 6f 20 6d 61 6b 65 | 20 61 63 63 65 73 73 20 | to make| access |
|00005060| 74 6f 20 74 65 63 68 6e | 69 63 61 6c 20 75 70 64 |to techn|ical upd|
|00005070| 61 74 65 73 20 65 61 73 | 69 65 72 20 66 6f 72 20 |ates eas|ier for |
|00005080| 79 6f 75 2e 20 49 66 20 | 79 6f 75 20 68 61 76 65 |you. If |you have|
|00005090| 20 63 6f 6d 6d 65 6e 74 | 73 20 6f 72 20 73 75 67 | comment|s or sug|
|000050a0| 67 65 73 74 69 6f 6e 73 | 20 61 62 6f 75 74 20 51 |gestions| about Q|
|000050b0| 26 41 20 63 6f 6e 74 65 | 6e 74 20 6f 72 20 64 69 |&A conte|nt or di|
|000050c0| 73 74 72 69 62 75 74 69 | 6f 6e 2c 20 70 6c 65 61 |stributi|on, plea|
|000050d0| 73 65 20 6c 65 74 20 75 | 73 20 6b 6e 6f 77 20 62 |se let u|s know b|
|000050e0| 79 20 73 65 6e 64 69 6e | 67 20 61 6e 20 41 70 70 |y sendin|g an App|
|000050f0| 6c 65 4c 69 6e 6b 20 74 | 6f 20 44 45 56 46 45 45 |leLink t|o DEVFEE|
|00005100| 44 42 41 43 4b 2e 20 41 | 70 70 6c 65 20 50 61 72 |DBACK. A|pple Par|
|00005110| 74 6e 65 72 73 20 6d 61 | 79 20 73 65 6e 64 20 74 |tners ma|y send t|
|00005120| 65 63 68 6e 69 63 61 6c | 20 71 75 65 73 74 69 6f |echnical| questio|
|00005130| 6e 73 20 61 62 6f 75 74 | 20 51 26 41 20 63 6f 6e |ns about| Q&A con|
|00005140| 74 65 6e 74 20 74 6f 20 | 44 45 56 53 55 50 50 4f |tent to |DEVSUPPO|
|00005150| 52 54 20 66 6f 72 20 72 | 65 73 6f 6c 75 74 69 6f |RT for r|esolutio|
|00005160| 6e 2e 0d 4e 65 77 20 51 | 26 41 73 20 61 6e 64 20 |n..New Q|&As and |
|00005170| 51 26 41 73 20 72 65 76 | 69 73 65 64 20 74 68 69 |Q&As rev|ised thi|
|00005180| 73 20 6d 6f 6e 74 68 20 | 61 72 65 20 6d 61 72 6b |s month |are mark|
|00005190| 65 64 20 77 69 74 68 20 | 61 20 62 61 72 20 69 6e |ed with |a bar in|
|000051a0| 20 74 68 65 20 73 69 64 | 65 20 6d 61 72 67 69 6e | the sid|e margin|
|000051b0| 2e 0d 44 65 74 65 72 6d | 69 6e 69 6e 67 20 74 68 |..Determ|ining th|
|000051c0| 65 20 6c 61 6e 67 75 61 | 67 65 20 62 65 69 6e 67 |e langua|ge being|
|000051d0| 20 75 73 65 64 20 74 6f | 20 65 6e 74 65 72 20 74 | used to| enter t|
|000051e0| 65 78 74 0d 57 72 69 74 | 74 65 6e 3a 09 31 31 2f |ext.Writ|ten:.11/|
|000051f0| 32 30 2f 39 30 0d 4c 61 | 73 74 20 72 65 76 69 65 |20/90.La|st revie|
|00005200| 77 65 64 3a 09 38 2f 31 | 2f 39 32 0d 49 73 20 74 |wed:.8/1|/92.Is t|
|00005210| 68 65 72 65 20 61 20 77 | 61 79 20 74 6f 20 74 65 |here a w|ay to te|
|00005220| 6c 6c 20 77 68 61 74 20 | 6c 61 6e 67 75 61 67 65 |ll what |language|
|00005230| 20 69 73 20 62 65 69 6e | 67 20 75 73 65 64 20 6f | is bein|g used o|
|00005240| 6e 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 3f |n the Ma|cintosh?|
|00005250| 20 49 20 6b 6e 6f 77 20 | 68 6f 77 20 74 6f 20 66 | I know |how to f|
|00005260| 69 6e 64 20 74 68 65 20 | 73 63 72 69 70 74 20 61 |ind the |script a|
|00005270| 6e 64 20 6f 74 68 65 72 | 20 69 6e 74 65 72 6e 61 |nd other| interna|
|00005280| 74 69 6f 6e 61 6c 20 69 | 74 65 6d 73 2c 20 62 75 |tional i|tems, bu|
|00005290| 74 20 74 68 65 20 6c 61 | 6e 67 75 61 67 65 20 62 |t the la|nguage b|
|000052a0| 65 69 6e 67 20 73 70 6f | 6b 65 6e 20 77 6f 75 6c |eing spo|ken woul|
|000052b0| 64 20 62 65 20 61 20 76 | 65 72 79 20 75 73 65 66 |d be a v|ery usef|
|000052c0| 75 6c 20 74 68 69 6e 67 | 20 74 6f 20 6b 6e 6f 77 |ul thing| to know|
|000052d0| 2e 0d 5f 5f 5f 0d 49 74 | 20 64 65 70 65 6e 64 73 |..___.It| depends|
|000052e0| 20 6f 6e 20 77 68 61 74 | 20 79 6f 75 20 6d 65 61 | on what| you mea|
|000052f0| 6e 20 62 79 20 d2 6c 61 | 6e 67 75 61 67 65 2e d3 |n by .la|nguage..|
|00005300| 20 49 74 d5 73 20 69 6d | 70 6f 73 73 69 62 6c 65 | It.s im|possible|
|00005310| 20 74 6f 20 64 65 74 65 | 72 6d 69 6e 65 20 77 68 | to dete|rmine wh|
|00005320| 61 74 20 6c 61 6e 67 75 | 61 67 65 20 74 68 65 20 |at langu|age the |
|00005330| 75 73 65 72 20 69 73 20 | 74 79 70 69 6e 67 20 69 |user is |typing i|
|00005340| 6e 20 77 69 74 68 6f 75 | 74 20 64 6f 69 6e 67 20 |n withou|t doing |
|00005350| 61 20 68 69 67 68 2d 6c | 65 76 65 6c 20 61 6e 61 |a high-l|evel ana|
|00005360| 6c 79 73 69 73 20 6f 66 | 20 77 68 61 74 20 69 73 |lysis of| what is|
|00005370| 20 62 65 69 6e 67 20 74 | 79 70 65 64 2c 20 61 73 | being t|yped, as|
|00005380| 20 79 6f 75 20 70 72 6f | 62 61 62 6c 79 20 6b 6e | you pro|bably kn|
|00005390| 6f 77 2e 0d 4f 6e 65 20 | 77 61 79 20 74 68 61 74 |ow..One |way that|
|000053a0| d5 73 20 62 65 65 6e 20 | 73 75 67 67 65 73 74 65 |.s been |suggeste|
|000053b0| 64 20 69 6e 20 74 68 65 | 20 70 61 73 74 20 69 73 |d in the| past is|
|000053c0| 20 74 6f 20 63 68 65 63 | 6b 20 6f 6e 20 74 68 65 | to chec|k on the|
|000053d0| 20 63 75 72 72 65 6e 74 | 20 4b 43 48 52 20 62 79 | current| KCHR by|
|000053e0| 20 63 61 6c 6c 69 6e 67 | 20 47 65 74 53 63 72 69 | calling| GetScri|
|000053f0| 70 74 20 77 69 74 68 20 | 61 6e 20 73 6d 53 63 72 |pt with |an smScr|
|00005400| 69 70 74 4b 65 79 73 20 | 76 65 72 62 2e 20 54 68 |iptKeys |verb. Th|
|00005410| 69 73 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 72 |is retur|ns the r|
|00005420| 65 73 6f 75 72 63 65 20 | 49 44 20 6f 66 20 74 68 |esource |ID of th|
|00005430| 65 20 63 75 72 72 65 6e | 74 6c 79 20 61 63 74 69 |e curren|tly acti|
|00005440| 76 65 20 4b 43 48 52 2e | 20 41 6c 6c 20 69 6e 74 |ve KCHR.| All int|
|00005450| 65 72 6e 61 74 69 6f 6e | 61 6c 20 73 79 73 74 65 |ernation|al syste|
|00005460| 6d 73 20 63 6f 6d 65 20 | 77 69 74 68 20 61 20 55 |ms come |with a U|
|00005470| 2e 53 2e 20 4b 43 48 52 | 20 61 6e 64 20 70 6f 73 |.S. KCHR| and pos|
|00005480| 73 69 62 6c 79 20 6f 74 | 68 65 72 73 2c 20 73 75 |sibly ot|hers, su|
|00005490| 63 68 20 61 73 20 74 68 | 65 20 52 6f 6d 61 6a 69 |ch as th|e Romaji|
|000054a0| 20 61 6e 64 20 4b 61 6e | 61 20 4b 43 48 52 73 20 | and Kan|a KCHRs |
|000054b0| 69 6e 20 74 68 65 20 4a | 61 70 61 6e 65 73 65 20 |in the J|apanese |
|000054c0| 73 79 73 74 65 6d 73 20 | 61 6e 64 20 74 68 65 20 |systems |and the |
|000054d0| 61 6c 74 65 72 6e 61 74 | 69 76 65 20 52 6f 6d 61 |alternat|ive Roma|
|000054e0| 6e 20 4b 43 48 52 73 20 | 69 6e 20 74 68 65 20 76 |n KCHRs |in the v|
|000054f0| 61 72 69 6f 75 73 20 47 | 65 72 6d 61 6e 20 61 6e |arious G|erman an|
|00005500| 64 20 46 72 65 6e 63 68 | 20 73 79 73 74 65 6d 73 |d French| systems|
|00005510| 2e 20 54 68 65 20 74 68 | 6f 75 67 68 74 20 77 61 |. The th|ought wa|
|00005520| 73 20 74 68 61 74 20 74 | 68 65 20 75 73 65 72 20 |s that t|he user |
|00005530| 77 69 6c 6c 20 6d 6f 73 | 74 20 6c 69 6b 65 6c 79 |will mos|t likely|
|00005540| 20 63 68 6f 6f 73 65 20 | 74 68 65 20 55 2e 53 2e | choose |the U.S.|
|00005550| 20 4b 43 48 52 20 74 6f | 20 74 79 70 65 20 69 6e | KCHR to| type in|
|00005560| 20 45 6e 67 6c 69 73 68 | 2c 20 61 6e 64 20 63 68 | English|, and ch|
|00005570| 6f 6f 73 65 20 74 68 65 | 20 46 72 65 6e 63 68 20 |oose the| French |
|00005580| 4b 43 48 52 20 74 6f 20 | 74 79 70 65 20 69 6e 20 |KCHR to |type in |
|00005590| 46 72 65 6e 63 68 2e 20 | 4f 6e 65 20 70 72 6f 62 |French. |One prob|
|000055a0| 6c 65 6d 20 77 69 74 68 | 20 74 68 69 73 20 69 73 |lem with| this is|
|000055b0| 20 74 68 61 74 20 69 74 | 20 69 73 6e d5 74 20 6e | that it| isn.t n|
|000055c0| 65 63 65 73 73 61 72 69 | 6c 79 20 74 72 75 65 2e |ecessari|ly true.|
|000055d0| 20 59 6f 75 20 63 61 6e | 20 74 79 70 65 20 45 6e | You can| type En|
|000055e0| 67 6c 69 73 68 20 77 69 | 74 68 20 74 68 65 20 46 |glish wi|th the F|
|000055f0| 72 65 6e 63 68 20 4b 43 | 48 52 20 61 6e 64 20 79 |rench KC|HR and y|
|00005600| 6f 75 20 63 61 6e 20 74 | 79 70 65 20 46 72 65 6e |ou can t|ype Fren|
|00005610| 63 68 20 77 69 74 68 20 | 74 68 65 20 55 2e 53 2e |ch with |the U.S.|
|00005620| 20 4b 43 48 52 2c 20 61 | 6e 64 20 6d 61 6e 79 20 | KCHR, a|nd many |
|00005630| 70 65 6f 70 6c 65 20 64 | 6f 2e 20 41 20 6d 75 63 |people d|o. A muc|
|00005640| 68 20 6c 61 72 67 65 72 | 20 70 72 6f 62 6c 65 6d |h larger| problem|
|00005650| 20 69 73 20 74 68 61 74 | 20 74 68 65 20 4b 43 48 | is that| the KCH|
|00005660| 52 20 49 44 73 20 61 72 | 65 6e d5 74 20 73 74 61 |R IDs ar|en.t sta|
|00005670| 6e 64 61 72 64 69 7a 65 | 64 20 77 69 74 68 69 6e |ndardize|d within|
|00005680| 20 61 20 73 63 72 69 70 | 74 20 73 79 73 74 65 6d | a scrip|t system|
|00005690| 20 72 61 6e 67 65 2e 20 | 42 65 63 61 75 73 65 20 | range. |Because |
|000056a0| 41 70 70 6c 65 20 64 65 | 66 69 6e 65 73 20 61 20 |Apple de|fines a |
|000056b0| 72 61 6e 67 65 20 6f 66 | 20 72 65 73 6f 75 72 63 |range of| resourc|
|000056c0| 65 20 49 44 73 20 66 6f | 72 20 65 61 63 68 20 73 |e IDs fo|r each s|
|000056d0| 63 72 69 70 74 20 73 79 | 73 74 65 6d 20 66 6f 72 |cript sy|stem for|
|000056e0| 20 74 68 65 20 69 6e 74 | 65 72 6e 61 74 69 6f 6e | the int|ernation|
|000056f0| 61 6c 20 72 65 73 6f 75 | 72 63 65 73 2c 20 79 6f |al resou|rces, yo|
|00005700| 75 20 63 61 6e 20 74 65 | 6c 6c 20 77 68 61 74 20 |u can te|ll what |
|00005710| 73 63 72 69 70 74 20 73 | 79 73 74 65 6d 20 61 20 |script s|ystem a |
|00005720| 4b 43 48 52 20 69 73 20 | 66 6f 72 2c 20 61 6e 64 |KCHR is |for, and|
|00005730| 20 79 6f 75 20 63 61 6e | 20 65 76 65 6e 20 6d 61 | you can| even ma|
|00005740| 74 63 68 20 75 70 20 74 | 68 65 20 4b 43 48 52 20 |tch up t|he KCHR |
|00005750| 49 44 20 77 69 74 68 20 | 74 68 65 20 73 74 61 6e |ID with |the stan|
|00005760| 64 61 72 64 20 4b 43 48 | 52 20 49 44 73 20 74 68 |dard KCH|R IDs th|
|00005770| 61 74 20 41 70 70 6c 65 | 20 64 65 66 69 6e 65 73 |at Apple| defines|
|00005780| 2c 20 62 75 74 20 74 68 | 65 72 65 d5 73 20 6e 6f |, but th|ere.s no|
|00005790| 74 68 69 6e 67 20 77 72 | 6f 6e 67 20 77 69 74 68 |thing wr|ong with|
|000057a0| 20 73 6f 6d 65 6f 6e 65 | 20 63 72 65 61 74 69 6e | someone| creatin|
|000057b0| 67 20 74 68 65 69 72 20 | 6f 77 6e 20 4b 43 48 52 |g their |own KCHR|
|000057c0| 20 61 6e 64 20 67 69 76 | 69 6e 67 20 69 74 20 61 | and giv|ing it a|
|000057d0| 6e 79 20 49 44 20 74 68 | 65 79 20 77 61 6e 74 2c |ny ID th|ey want,|
|000057e0| 20 61 73 20 6c 6f 6e 67 | 20 61 73 20 69 74 d5 73 | as long| as it.s|
|000057f0| 20 69 6e 20 74 68 65 20 | 70 72 6f 70 65 72 20 72 | in the |proper r|
|00005800| 61 6e 67 65 20 66 6f 72 | 20 74 68 65 20 73 63 72 |ange for| the scr|
|00005810| 69 70 74 20 73 79 73 74 | 65 6d 20 74 68 65 79 d5 |ipt syst|em they.|
|00005820| 76 65 20 77 72 69 74 74 | 65 6e 20 69 74 20 66 6f |ve writt|en it fo|
|00005830| 72 2e 20 49 66 20 74 68 | 61 74 d5 73 20 74 68 65 |r. If th|at.s the|
|00005840| 20 63 75 72 72 65 6e 74 | 6c 79 20 61 63 74 69 76 | current|ly activ|
|00005850| 65 20 4b 43 48 52 2c 20 | 69 74 73 20 72 65 73 6f |e KCHR, |its reso|
|00005860| 75 72 63 65 20 49 44 20 | 74 65 6c 6c 73 20 79 6f |urce ID |tells yo|
|00005870| 75 20 77 68 61 74 20 73 | 63 72 69 70 74 20 73 79 |u what s|cript sy|
|00005880| 73 74 65 6d 20 69 74 d5 | 73 20 66 6f 72 2c 20 62 |stem it.|s for, b|
|00005890| 75 74 20 69 74 20 77 6f | 6e d5 74 20 74 65 6c 6c |ut it wo|n.t tell|
|000058a0| 20 79 6f 75 20 61 6e 79 | 74 68 69 6e 67 20 61 62 | you any|thing ab|
|000058b0| 6f 75 74 20 77 68 61 74 | 20 6c 61 6e 67 75 61 67 |out what| languag|
|000058c0| 65 20 69 74 20 77 61 73 | 20 69 6e 74 65 6e 64 65 |e it was| intende|
|000058d0| 64 20 66 6f 72 2e 20 46 | 6f 72 20 74 68 69 73 20 |d for. F|or this |
|000058e0| 72 65 61 73 6f 6e 2c 20 | 74 68 69 73 20 6d 65 74 |reason, |this met|
|000058f0| 68 6f 64 20 69 73 20 66 | 72 6f 77 6e 65 64 20 75 |hod is f|rowned u|
|00005900| 70 6f 6e 20 6e 6f 77 2e | 0d 49 6e 20 66 61 63 74 |pon now.|.In fact|
|00005910| 2c 20 74 68 65 72 65 20 | 72 65 61 6c 6c 79 20 69 |, there |really i|
|00005920| 73 20 6e 6f 20 72 65 6c | 69 61 62 6c 65 20 77 61 |s no rel|iable wa|
|00005930| 79 20 6f 66 20 6b 6e 6f | 77 69 6e 67 20 74 68 65 |y of kno|wing the|
|00005940| 20 6c 61 6e 67 75 61 67 | 65 20 74 68 61 74 d5 73 | languag|e that.s|
|00005950| 20 62 65 69 6e 67 20 75 | 73 65 64 2e 20 54 68 65 | being u|sed. The|
|00005960| 20 62 65 73 74 20 79 6f | 75 20 63 61 6e 20 64 6f | best yo|u can do|
|00005970| 20 63 75 72 72 65 6e 74 | 6c 79 20 69 73 20 74 6f | current|ly is to|
|00005980| 20 66 69 6e 64 20 6f 75 | 74 20 77 68 61 74 20 74 | find ou|t what t|
|00005990| 68 65 20 73 79 73 74 65 | 6d 20 69 73 20 6c 6f 63 |he syste|m is loc|
|000059a0| 61 6c 69 7a 65 64 20 66 | 6f 72 2e 20 54 68 69 73 |alized f|or. This|
|000059b0| 20 69 73 20 64 6f 6e 65 | 20 62 79 20 67 72 61 62 | is done| by grab|
|000059c0| 62 69 6e 67 20 74 68 65 | 20 76 65 72 73 20 72 65 |bing the| vers re|
|000059d0| 73 6f 75 72 63 65 20 49 | 44 20 31 20 66 72 6f 6d |source I|D 1 from|
|000059e0| 20 74 68 65 20 53 79 73 | 74 65 6d 20 66 69 6c 65 | the Sys|tem file|
|000059f0| 2e 20 49 6e 20 74 68 69 | 73 20 72 65 73 6f 75 72 |. In thi|s resour|
|00005a00| 63 65 20 69 73 20 77 68 | 61 74 20 77 61 73 20 63 |ce is wh|at was c|
|00005a10| 61 6c 6c 65 64 20 74 68 | 65 20 63 6f 75 6e 74 72 |alled th|e countr|
|00005a20| 79 20 63 6f 64 65 20 28 | 74 68 65 20 74 65 72 6d |y code (|the term|
|00005a30| 20 d2 63 6f 75 6e 74 72 | 79 20 63 6f 64 65 d3 20 | .countr|y code. |
|00005a40| 69 73 20 6f 62 73 6f 6c | 65 74 65 2c 20 69 6e 20 |is obsol|ete, in |
|00005a50| 66 61 76 6f 72 20 6f 66 | 20 d2 72 65 67 69 6f 6e |favor of| .region|
|00005a60| 20 63 6f 64 65 d3 29 20 | 77 68 69 63 68 20 69 6e | code.) |which in|
|00005a70| 64 69 63 61 74 65 73 20 | 77 68 61 74 20 72 65 67 |dicates |what reg|
|00005a80| 69 6f 6e 20 74 68 65 20 | 73 79 73 74 65 6d 20 69 |ion the |system i|
|00005a90| 73 20 6c 6f 63 61 6c 69 | 7a 65 64 20 66 6f 72 2e |s locali|zed for.|
|00005aa0| 20 54 68 65 73 65 20 72 | 65 67 69 6f 6e 20 63 6f | These r|egion co|
|00005ab0| 64 65 73 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |des are |defined |
|00005ac0| 69 6e 20 50 61 63 6b 61 | 67 65 73 2e 70 20 69 6e |in Packa|ges.p in|
|00005ad0| 20 4d 50 57 2c 20 61 6e | 64 20 68 61 76 65 20 6e | MPW, an|d have n|
|00005ae0| 61 6d 65 73 20 6c 69 6b | 65 20 76 65 72 55 53 20 |ames lik|e verUS |
|00005af0| 61 6e 64 20 76 65 72 46 | 72 61 6e 63 65 20 61 6e |and verF|rance an|
|00005b00| 64 20 74 68 65 20 6c 69 | 6b 65 2e 0d 54 68 65 72 |d the li|ke..Ther|
|00005b10| 65 d5 73 20 61 6e 6f 74 | 68 65 72 20 77 61 79 20 |e.s anot|her way |
|00005b20| 74 68 61 74 20 79 6f 75 | 20 6d 69 67 68 74 20 77 |that you| might w|
|00005b30| 61 6e 74 20 74 6f 20 63 | 6f 6e 73 69 64 65 72 2e |ant to c|onsider.|
|00005b40| 20 4f 6e 65 20 6f 66 20 | 74 68 65 20 47 65 74 53 | One of |the GetS|
|00005b50| 63 72 69 70 74 20 76 65 | 72 62 73 20 69 73 20 73 |cript ve|rbs is s|
|00005b60| 6d 53 63 72 69 70 74 4c | 61 6e 67 2e 20 54 68 69 |mScriptL|ang. Thi|
|00005b70| 73 20 72 65 74 75 72 6e | 73 20 74 68 65 20 6c 61 |s return|s the la|
|00005b80| 6e 67 75 61 67 65 20 63 | 6f 64 65 20 6f 66 20 74 |nguage c|ode of t|
|00005b90| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 73 63 72 |he speci|fied scr|
|00005ba0| 69 70 74 20 73 79 73 74 | 65 6d 20 66 6f 72 20 74 |ipt syst|em for t|
|00005bb0| 68 65 20 63 75 72 72 65 | 6e 74 20 73 79 73 74 65 |he curre|nt syste|
|00005bc0| 6d 2e 20 49 66 20 79 6f | 75 20 70 61 73 73 20 73 |m. If yo|u pass s|
|00005bd0| 6d 52 6f 6d 61 6e 20 61 | 73 20 74 68 65 20 73 63 |mRoman a|s the sc|
|00005be0| 72 69 70 74 20 63 6f 64 | 65 20 74 6f 20 47 65 74 |ript cod|e to Get|
|00005bf0| 53 63 72 69 70 74 2c 20 | 69 74 d5 6c 6c 20 72 65 |Script, |it.ll re|
|00005c00| 74 75 72 6e 20 6c 61 6e | 67 46 72 65 6e 63 68 20 |turn lan|gFrench |
|00005c10| 6f 6e 20 61 20 46 72 65 | 6e 63 68 20 73 79 73 74 |on a Fre|nch syst|
|00005c20| 65 6d 2c 20 6c 61 6e 67 | 47 65 72 6d 61 6e 20 6f |em, lang|German o|
|00005c30| 6e 20 61 20 47 65 72 6d | 61 6e 20 73 79 73 74 65 |n a Germ|an syste|
|00005c40| 6d 2c 20 6c 61 6e 67 45 | 6e 67 6c 69 73 68 20 6f |m, langE|nglish o|
|00005c50| 6e 20 61 20 55 2e 53 2e | 20 6f 72 20 55 2e 4b 2e |n a U.S.| or U.K.|
|00005c60| 20 6f 72 20 41 75 73 74 | 72 61 6c 69 61 6e 20 73 | or Aust|ralian s|
|00005c70| 79 73 74 65 6d 2c 20 61 | 6e 64 20 73 6f 20 66 6f |ystem, a|nd so fo|
|00005c80| 72 74 68 2e 20 49 66 20 | 79 6f 75 20 70 61 73 73 |rth. If |you pass|
|00005c90| 20 73 6d 4a 61 70 61 6e | 65 73 65 20 61 73 20 74 | smJapan|ese as t|
|00005ca0| 68 65 20 73 63 72 69 70 | 74 20 63 6f 64 65 20 74 |he scrip|t code t|
|00005cb0| 6f 20 47 65 74 53 63 72 | 69 70 74 2c 20 69 74 d5 |o GetScr|ipt, it.|
|00005cc0| 6c 6c 20 72 65 74 75 72 | 6e 20 6c 61 6e 67 4a 61 |ll retur|n langJa|
|00005cd0| 70 61 6e 65 73 65 2e 20 | 49 6e 74 65 72 65 73 74 |panese. |Interest|
|00005ce0| 69 6e 67 6c 79 2c 20 69 | 66 20 79 6f 75 20 70 61 |ingly, i|f you pa|
|00005cf0| 73 73 20 73 6d 52 6f 6d | 61 6e 20 61 73 20 74 68 |ss smRom|an as th|
|00005d00| 65 20 73 63 72 69 70 74 | 20 63 6f 64 65 20 74 6f |e script| code to|
|00005d10| 20 47 65 74 53 63 72 69 | 70 74 20 77 68 65 6e 20 | GetScri|pt when |
|00005d20| 61 20 4a 61 70 61 6e 65 | 73 65 20 73 63 72 69 70 |a Japane|se scrip|
|00005d30| 74 20 73 79 73 74 65 6d | 20 69 73 20 72 75 6e 6e |t system| is runn|
|00005d40| 69 6e 67 2c 20 69 74 d5 | 6c 6c 20 72 65 74 75 72 |ing, it.|ll retur|
|00005d50| 6e 20 6c 61 6e 67 45 6e | 67 6c 69 73 68 2e 20 41 |n langEn|glish. A|
|00005d60| 6c 6c 20 6e 6f 6e 2d 52 | 6f 6d 61 6e 20 73 63 72 |ll non-R|oman scr|
|00005d70| 69 70 74 20 73 79 73 74 | 65 6d 73 20 72 65 74 75 |ipt syst|ems retu|
|00005d80| 72 6e 20 6c 61 6e 67 45 | 6e 67 6c 69 73 68 20 69 |rn langE|nglish i|
|00005d90| 66 20 79 6f 75 20 70 61 | 73 73 20 73 6d 52 6f 6d |f you pa|ss smRom|
|00005da0| 61 6e 20 61 73 20 74 68 | 65 20 73 63 72 69 70 74 |an as th|e script|
|00005db0| 20 63 6f 64 65 20 74 6f | 20 47 65 74 53 63 72 69 | code to| GetScri|
|00005dc0| 70 74 2e 20 54 68 65 20 | 6c 61 6e 67 75 61 67 65 |pt. The |language|
|00005dd0| 20 63 6f 6e 73 74 61 6e | 74 73 20 61 72 65 20 69 | constan|ts are i|
|00005de0| 6e 20 4c 61 6e 67 75 61 | 67 65 2e 70 20 69 6e 20 |n Langua|ge.p in |
|00005df0| 4d 50 57 2e 20 59 6f 75 | d5 6c 6c 20 70 72 6f 62 |MPW. You|.ll prob|
|00005e00| 61 62 6c 79 20 77 68 61 | 74 20 74 6f 20 63 6f 6d |ably wha|t to com|
|00005e10| 62 69 6e 65 20 74 68 69 | 73 20 47 65 74 53 63 72 |bine thi|s GetScr|
|00005e20| 69 70 74 20 63 61 6c 6c | 20 77 69 74 68 20 61 20 |ipt call| with a |
|00005e30| 63 61 6c 6c 20 74 6f 20 | 47 65 74 45 6e 76 69 72 |call to |GetEnvir|
|00005e40| 6f 6e 73 20 74 6f 20 66 | 69 6e 64 20 6f 75 74 20 |ons to f|ind out |
|00005e50| 77 68 61 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |what the| current|
|00005e60| 6c 79 20 61 63 74 69 76 | 65 20 73 63 72 69 70 74 |ly activ|e script|
|00005e70| 20 69 73 2e 20 49 74 20 | 6d 69 67 68 74 20 6c 6f | is. It |might lo|
|00005e80| 6f 6b 20 73 6f 6d 65 74 | 68 69 6e 67 20 6c 69 6b |ok somet|hing lik|
|00005e90| 65 20 74 68 69 73 3a 0d | 28 2a 20 47 65 74 20 74 |e this:.|(* Get t|
|00005ea0| 68 65 20 63 75 72 72 65 | 6e 74 6c 79 2d 61 63 74 |he curre|ntly-act|
|00005eb0| 69 76 65 20 6b 65 79 62 | 6f 61 72 64 20 73 63 72 |ive keyb|oard scr|
|00005ec0| 69 70 74 20 2a 29 0d 6b | 65 79 62 6f 61 72 64 53 |ipt *).k|eyboardS|
|00005ed0| 63 72 69 70 74 20 3a 3d | 20 47 65 74 45 6e 76 69 |cript :=| GetEnvi|
|00005ee0| 72 6f 6e 73 20 28 73 6d | 4b 65 79 53 63 72 69 70 |rons (sm|KeyScrip|
|00005ef0| 74 29 3b 0d 28 2a 20 4e | 6f 77 20 67 65 74 20 74 |t);.(* N|ow get t|
|00005f00| 68 65 20 6c 61 6e 67 75 | 61 67 65 20 74 68 61 74 |he langu|age that|
|00005f10| 20 74 68 65 20 6b 65 79 | 62 6f 61 72 64 20 73 63 | the key|board sc|
|00005f20| 72 69 70 74 20 63 6f 72 | 72 65 73 70 6f 6e 64 73 |ript cor|responds|
|00005f30| 20 74 6f 20 2a 29 0d 6c | 61 6e 67 75 61 67 65 43 | to *).l|anguageC|
|00005f40| 6f 64 65 20 3a 3d 20 47 | 65 74 53 63 72 69 70 74 |ode := G|etScript|
|00005f50| 20 28 6b 65 79 62 6f 61 | 72 64 53 63 72 69 70 74 | (keyboa|rdScript|
|00005f60| 2c 20 73 6d 53 63 72 69 | 70 74 4c 61 6e 67 29 3b |, smScri|ptLang);|
|00005f70| 0d 49 6e 20 73 75 6d 6d | 61 72 79 2c 20 74 68 65 |.In summ|ary, the|
|00005f80| 72 65 d5 73 20 6e 6f 20 | 73 79 73 74 65 6d 20 73 |re.s no |system s|
|00005f90| 75 70 70 6f 72 74 20 66 | 6f 72 20 72 65 74 72 69 |upport f|or retri|
|00005fa0| 65 76 69 6e 67 20 74 68 | 65 20 6c 61 6e 67 75 61 |eving th|e langua|
|00005fb0| 67 65 20 74 68 61 74 20 | 74 68 65 20 75 73 65 72 |ge that |the user|
|00005fc0| 20 69 73 20 74 79 70 69 | 6e 67 2c 20 6e 6f 72 20 | is typi|ng, nor |
|00005fd0| 69 73 20 74 68 65 72 65 | 20 61 6e 79 20 72 65 6c |is there| any rel|
|00005fe0| 69 61 62 6c 65 20 73 75 | 70 70 6f 72 74 20 66 6f |iable su|pport fo|
|00005ff0| 72 20 72 65 74 72 69 65 | 76 69 6e 67 20 74 68 65 |r retrie|ving the|
|00006000| 20 6c 61 6e 67 75 61 67 | 65 20 72 65 6c 61 74 65 | languag|e relate|
|00006010| 64 20 74 6f 20 61 6e 79 | 20 4b 43 48 52 2e 20 42 |d to any| KCHR. B|
|00006020| 75 74 2c 20 79 6f 75 20 | 63 61 6e 20 66 69 6e 64 |ut, you |can find|
|00006030| 20 74 68 65 20 72 65 67 | 69 6f 6e 20 63 6f 64 65 | the reg|ion code|
|00006040| 20 6f 66 20 74 68 65 20 | 61 63 74 69 76 65 20 73 | of the |active s|
|00006050| 79 73 74 65 6d 2c 20 61 | 6e 64 20 79 6f 75 20 63 |ystem, a|nd you c|
|00006060| 61 6e 20 66 69 6e 64 20 | 74 68 65 20 6c 61 6e 67 |an find |the lang|
|00006070| 75 61 67 65 20 61 73 73 | 6f 63 69 61 74 65 64 20 |uage ass|ociated |
|00006080| 77 69 74 68 20 74 68 65 | 20 61 63 74 69 76 65 20 |with the| active |
|00006090| 73 63 72 69 70 74 2e 20 | 48 6f 70 65 66 75 6c 6c |script. |Hopefull|
|000060a0| 79 2c 20 74 68 61 74 d5 | 73 20 65 6e 6f 75 67 68 |y, that.|s enough|
|000060b0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 74 6f 20 | informa|tion to |
|000060c0| 62 65 20 75 73 65 66 75 | 6c 20 74 6f 20 79 6f 75 |be usefu|l to you|
|000060d0| 2e 0d 52 65 6c 53 74 72 | 69 6e 67 20 26 20 45 71 |..RelStr|ing & Eq|
|000060e0| 75 61 6c 53 74 72 69 6e | 67 20 76 73 20 49 6e 74 |ualStrin|g vs Int|
|000060f0| 65 72 6e 61 74 69 6f 6e | 61 6c 20 55 74 69 6c 69 |ernation|al Utili|
|00006100| 74 69 65 73 0d 57 72 69 | 74 74 65 6e 3a 09 31 2f |ties.Wri|tten:.1/|
|00006110| 32 35 2f 39 31 0d 4c 61 | 73 74 20 72 65 76 69 65 |25/91.La|st revie|
|00006120| 77 65 64 3a 09 38 2f 31 | 2f 39 32 0d 57 68 61 74 |wed:.8/1|/92.What|
|00006130| 20 69 73 20 74 68 65 20 | 64 69 66 66 65 72 65 6e | is the |differen|
|00006140| 63 65 20 62 65 74 77 65 | 65 6e 20 52 65 6c 53 74 |ce betwe|en RelSt|
|00006150| 72 69 6e 67 20 61 6e 64 | 20 74 68 65 20 45 71 75 |ring and| the Equ|
|00006160| 61 6c 53 74 72 69 6e 67 | 3f 20 57 68 61 74 20 64 |alString|? What d|
|00006170| 6f 65 73 20 44 54 53 20 | 73 75 67 67 65 73 74 20 |oes DTS |suggest |
|00006180| 69 74 73 20 4d 61 63 69 | 6e 74 6f 73 68 20 64 65 |its Maci|ntosh de|
|00006190| 76 65 6c 6f 70 65 72 73 | 20 75 73 65 20 77 68 65 |velopers| use whe|
|000061a0| 6e 20 73 6f 72 74 69 6e | 67 3f 20 4f 72 20 64 6f |n sortin|g? Or do|
|000061b0| 20 79 6f 75 20 73 75 67 | 67 65 73 74 20 68 61 76 | you sug|gest hav|
|000061c0| 69 6e 67 20 61 6e 20 6f | 70 74 69 6f 6e 20 66 6f |ing an o|ption fo|
|000061d0| 72 20 74 68 65 20 69 6e | 74 65 72 6e 61 74 69 6f |r the in|ternatio|
|000061e0| 6e 61 6c 20 73 6f 72 74 | 3f 0d 5f 5f 5f 0d 52 65 |nal sort|?.___.Re|
|000061f0| 6c 53 74 72 69 6e 67 20 | 61 6e 64 20 45 71 75 61 |lString |and Equa|
|00006200| 6c 53 74 72 69 6e 67 20 | 61 72 65 20 6d 61 69 6e |lString |are main|
|00006210| 6c 79 20 69 6e 74 65 6e | 64 65 64 20 66 6f 72 20 |ly inten|ded for |
|00006220| 74 68 65 20 46 69 6c 65 | 20 4d 61 6e 61 67 65 72 |the File| Manager|
|00006230| 2e 20 54 68 65 20 46 69 | 6c 65 20 4d 61 6e 61 67 |. The Fi|le Manag|
|00006240| 65 72 20 75 73 65 73 20 | 74 68 65 6d 20 66 6f 72 |er uses |them for|
|00006250| 20 71 75 69 63 6b 2d 61 | 6e 64 2d 64 69 72 74 79 | quick-a|nd-dirty|
|00006260| 20 73 74 72 69 6e 67 20 | 63 6f 6d 70 61 72 69 73 | string |comparis|
|00006270| 6f 6e 20 73 6f 20 74 68 | 61 74 20 69 74 20 6b 6e |on so th|at it kn|
|00006280| 6f 77 73 20 68 6f 77 20 | 74 6f 20 72 65 74 75 72 |ows how |to retur|
|00006290| 6e 20 66 69 6c 65 73 20 | 6f 72 64 65 72 65 64 20 |n files |ordered |
|000062a0| 61 6c 70 68 61 62 65 74 | 69 63 61 6c 6c 79 20 77 |alphabet|ically w|
|000062b0| 68 65 6e 20 79 6f 75 20 | 75 73 65 20 61 6e 20 69 |hen you |use an i|
|000062c0| 6e 64 65 78 65 64 20 46 | 69 6c 65 20 4d 61 6e 61 |ndexed F|ile Mana|
|000062d0| 67 65 72 20 72 6f 75 74 | 69 6e 65 73 20 61 6e 64 |ger rout|ines and|
|000062e0| 20 73 6f 20 74 68 61 74 | 20 69 74 20 63 61 6e 20 | so that| it can |
|000062f0| 64 65 74 65 63 74 20 66 | 69 6c 65 20 6e 61 6d 65 |detect f|ile name|
|00006300| 20 63 6f 6c 6c 69 73 69 | 6f 6e 73 2e 20 42 65 79 | collisi|ons. Bey|
|00006310| 6f 6e 64 20 74 68 61 74 | 2c 20 52 65 6c 53 74 72 |ond that|, RelStr|
|00006320| 69 6e 67 20 61 6e 64 20 | 45 71 75 61 6c 53 74 72 |ing and |EqualStr|
|00006330| 69 6e 67 20 61 72 65 6e | d5 74 20 6c 6f 63 61 6c |ing aren|.t local|
|00006340| 69 7a 61 62 6c 65 20 61 | 6e 64 20 74 68 65 79 d5 |izable a|nd they.|
|00006350| 72 65 20 6e 6f 74 20 65 | 78 74 65 6e 73 69 62 6c |re not e|xtensibl|
|00006360| 65 2e 0d 54 68 65 20 49 | 6e 74 65 72 6e 61 74 69 |e..The I|nternati|
|00006370| 6f 6e 61 6c 20 55 74 69 | 6c 69 74 69 65 73 20 73 |onal Uti|lities s|
|00006380| 74 72 69 6e 67 20 63 6f | 6d 70 61 72 69 73 6f 6e |tring co|mparison|
|00006390| 20 72 6f 75 74 69 6e 65 | 73 20 61 72 65 20 6c 6f | routine|s are lo|
|000063a0| 63 61 6c 69 7a 61 62 6c | 65 20 61 6e 64 20 65 78 |calizabl|e and ex|
|000063b0| 74 65 6e 73 69 62 6c 65 | 2e 20 54 68 65 79 20 75 |tensible|. They u|
|000063c0| 73 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 69 |se infor|mation i|
|000063d0| 6e 20 74 68 65 20 61 63 | 74 69 76 65 20 27 69 74 |n the ac|tive 'it|
|000063e0| 6c 32 27 20 72 65 73 6f | 75 72 63 65 20 74 6f 20 |l2' reso|urce to |
|000063f0| 64 65 74 65 72 6d 69 6e | 65 20 68 6f 77 20 74 68 |determin|e how th|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.